Infinispan HotRod C++ Client  8.3.1.Final
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
infinispan::hotrod::event::ClientCacheEntryRemovedEvent< K > Class Template Reference

#include <ClientEvent.h>

Inheritance diagram for infinispan::hotrod::event::ClientCacheEntryRemovedEvent< K >:
infinispan::hotrod::event::ClientEvent

Public Member Functions

 ClientCacheEntryRemovedEvent (K key, int commandRetried)
 
getKey ()
 
bool isCommandRetried ()
 
uint8_t getType ()
 

Constructor & Destructor Documentation

template<class K>
infinispan::hotrod::event::ClientCacheEntryRemovedEvent< K >::ClientCacheEntryRemovedEvent ( key,
int  commandRetried 
)
inline

Member Function Documentation

template<class K>
K infinispan::hotrod::event::ClientCacheEntryRemovedEvent< K >::getKey ( )
inline

Created cache entry's key.

Returns
an instance of the key with which a cache entry has been created in remote server.
template<class K>
uint8_t infinispan::hotrod::event::ClientCacheEntryRemovedEvent< K >::getType ( )
inlinevirtual
template<class K>
bool infinispan::hotrod::event::ClientCacheEntryRemovedEvent< K >::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: