8 #ifndef SRC_HOTROD_IMPL_EVENT_CLIENTEVENT_H_ 9 #define SRC_HOTROD_IMPL_EVENT_CLIENTEVENT_H_ 18 struct EventHeaderParams {
33 virtual uint8_t getType() = 0;
63 uint8_t
getType() {
return CLIENT_CACHE_ENTRY_CREATED; }
66 const uint64_t version;
67 const bool commandRetried;
96 uint8_t
getType() {
return CLIENT_CACHE_ENTRY_MODIFIED; }
99 const uint64_t version;
100 const bool commandRetried;
114 uint8_t
getType() {
return CLIENT_CACHE_ENTRY_EXPIRED; }
139 uint8_t
getType() {
return CLIENT_CACHE_ENTRY_REMOVED; }
142 const bool commandRetried;
165 uint8_t
getType() {
return CLIENT_CACHE_ENTRY_CUSTOM; }
167 const std::vector<char> data;
172 uint8_t getType() {
return CLIENT_CACHE_FAILOVER; }
bool isCommandRetried()
Definition: ClientEvent.h:62
ClientCacheEntryRemovedEvent(K key, int commandRetried)
Definition: ClientEvent.h:122
uint8_t getType()
Definition: ClientEvent.h:139
uint8_t getType()
Definition: ClientEvent.h:165
Definition: ClientEvent.h:171
Definition: ClientEvent.h:120
K getKey()
Definition: ClientEvent.h:128
uint8_t getType()
Definition: ClientEvent.h:114
ClientCacheEntryModifiedEvent(K key, uint64_t version, int commandRetried)
Definition: ClientEvent.h:73
bool isCommandRetried()
Definition: ClientEvent.h:164
virtual ~ClientEvent()
Definition: ClientEvent.h:34
bool isCommandRetried()
Definition: ClientEvent.h:138
uint8_t getType()
Definition: ClientEvent.h:96
Definition: ClientEvent.h:145
Definition: AuthenticationConfiguration.h:10
ClientCacheEntryCustomEvent(std::vector< char > data, int commandRetried)
Definition: ClientEvent.h:147
Definition: ClientEvent.h:104
Definition: ClientEvent.h:28
Definition: ClientEvent.h:71
ClientCacheEntryExpiredEvent(K key)
Definition: ClientEvent.h:106
uint8_t getType()
Definition: ClientEvent.h:63
ClientCacheEntryCreatedEvent(K key, uint64_t version, int commandRetried)
Definition: ClientEvent.h:41
Type
Definition: ClientEvent.h:27
K getKey()
Definition: ClientEvent.h:46
Definition: ClientEvent.h:29
Definition: ClientEvent.h:25
bool isCommandRetried()
Definition: ClientEvent.h:95
uint64_t getVersion()
Definition: ClientEvent.h:85
std::vector< char > getEventData()
Definition: ClientEvent.h:154
K getKey()
Definition: ClientEvent.h:79
K getKey()
Definition: ClientEvent.h:112
Definition: ClientEvent.h:38
uint64_t getVersion()
Definition: ClientEvent.h:52