|
JBoss Data Grid HotRod C++ Client
7.1.0
|
#include <ClientEvent.h>
Public Member Functions | |
| ClientCacheEntryCreatedEvent (K key, uint64_t version, int commandRetried) | |
| K | getKey () |
| uint64_t | getVersion () |
| bool | isCommandRetried () |
| uint8_t | getType () |
Public Member Functions inherited from infinispan::hotrod::event::ClientEvent | |
| virtual | ~ClientEvent () |
Additional Inherited Members | |
Public Types inherited from infinispan::hotrod::event::ClientEvent | |
| enum | Type { CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_ENTRY_CUSTOM, CLIENT_CACHE_FAILOVER } |
|
inline |
|
inline |
Created cache entry's key.
|
inlinevirtual |
Implements infinispan::hotrod::event::ClientEvent.
|
inline |
Provides access to the version of the created cache entry. This version can be used to invoke conditional operations on the server, such as org.infinispan.client.hotrod.RemoteCache#replaceWithVersion(Object, Object, long) or org.infinispan.client.hotrod.RemoteCache#removeWithVersion(Object, long)
|
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)
1.8.11