Infinispan HotRod C++ Client 9.2.0.Final
Loading...
Searching...
No Matches
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

◆ ClientCacheEntryRemovedEvent()

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

Member Function Documentation

◆ getKey()

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.

◆ getType()

template<class K >
uint8_t infinispan::hotrod::event::ClientCacheEntryRemovedEvent< K >::getType ( )
inlinevirtual

◆ isCommandRetried()

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: