Infinispan HotRod C++ Client  8.2.1.Final
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
infinispan::hotrod::event::ClientCacheEntryCustomEvent Class Reference

#include <ClientEvent.h>

Inheritance diagram for infinispan::hotrod::event::ClientCacheEntryCustomEvent:
infinispan::hotrod::event::ClientEvent

Public Member Functions

 ClientCacheEntryCustomEvent (std::vector< char > data, int commandRetried)
 
std::vector< char > getEventData ()
 
bool isCommandRetried ()
 
uint8_t getType ()
 

Constructor & Destructor Documentation

infinispan::hotrod::event::ClientCacheEntryCustomEvent::ClientCacheEntryCustomEvent ( std::vector< char >  data,
int  commandRetried 
)
inline

Member Function Documentation

std::vector<char> infinispan::hotrod::event::ClientCacheEntryCustomEvent::getEventData ( )
inline

Customized event data. It can be any type as long as it can be converted to binary format for shipping between the server and client.

Returns
an instance of the customised event data.
uint8_t infinispan::hotrod::event::ClientCacheEntryCustomEvent::getType ( )
inlinevirtual
bool infinispan::hotrod::event::ClientCacheEntryCustomEvent::isCommandRetried ( )
inline

This will be true if the write command that caused this had to be retried again due to a topology change. This could be a sign that this event has been duplicated or another event was dropped and replaced (eg: ModifiedEvent replaced CreateEvent)

Returns
Whether the command that caused this event was retried

The documentation for this class was generated from the following file: