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

#include <CacheClientListener.h>

Inheritance diagram for infinispan::hotrod::event::CacheClientListener< K, V >:
infinispan::hotrod::event::ClientListener

Public Member Functions

 CacheClientListener (RemoteCache< K, V > &cache)
 
void add_listener (std::function< void(ClientCacheEntryCreatedEvent< K >)> callback)
 
void add_listener (std::function< void(ClientCacheEntryExpiredEvent< K >)> callback)
 
void add_listener (std::function< void(ClientCacheEntryModifiedEvent< K >)> callback)
 
void add_listener (std::function< void(ClientCacheEntryRemovedEvent< K >)> callback)
 
void add_listener (std::function< void(ClientCacheEntryCustomEvent)> callback)
 
virtual void processEvent (ClientCacheEntryCreatedEvent< std::vector< char >> marshEv, std::vector< char >listId, uint8_t isCustom) const
 
virtual void processEvent (ClientCacheEntryModifiedEvent< std::vector< char >> marshEv, std::vector< char >listId, uint8_t isCustom) const
 
virtual void processEvent (ClientCacheEntryRemovedEvent< std::vector< char >> marshEv, std::vector< char >listId, uint8_t isCustom) const
 
virtual void processEvent (ClientCacheEntryExpiredEvent< std::vector< char >> marshEv, std::vector< char >listId, uint8_t isCustom) const
 
virtual void processEvent (ClientCacheEntryCustomEvent ev, std::vector< char >listId, uint8_t isCustom) const
 
- Public Member Functions inherited from infinispan::hotrod::event::ClientListener
void setInterestFlag (unsigned char flag)
 
virtual void processEvent (ClientCacheEntryCreatedEvent< std::vector< char > >, std::vector< char >listId, uint8_t isCustom) const =0
 
virtual void processEvent (ClientCacheEntryModifiedEvent< std::vector< char > >, std::vector< char >listId, uint8_t isCustom) const =0
 
virtual void processEvent (ClientCacheEntryRemovedEvent< std::vector< char > >, std::vector< char >listId, uint8_t isCustom) const =0
 
virtual void processEvent (ClientCacheEntryExpiredEvent< std::vector< char > >, std::vector< char >listId, uint8_t isCustom) const =0
 
virtual void processFailoverEvent () const
 
void add_listener (std::function< void()> callback)
 
virtual ~ClientListener ()
 
const std::vector< char > & getListenerId () const
 
void setListenerId (const std::vector< char > &listenerId)
 

Public Attributes

RemoteCacheBase & cache
 
- Public Attributes inherited from infinispan::hotrod::event::ClientListener
bool includeCurrentState = false
 
std::vector< char > filterFactoryName
 
std::vector< char > converterFactoryName
 
bool useRawData = false
 
unsigned char interestFlag =0
 

Static Public Attributes

static const unsigned char INTEREST_FLAG_CREATED = 0x01
 
static const unsigned char INTEREST_FLAG_MODIFIED = 0x02
 
static const unsigned char INTEREST_FLAG_REMOVED = 0x04
 
static const unsigned char INTEREST_FLAG_EXPIRED = 0x08
 
static const unsigned char INTEREST_FLAG_ALL = 0x0f
 

Constructor & Destructor Documentation

template<class K , class V >
infinispan::hotrod::event::CacheClientListener< K, V >::CacheClientListener ( RemoteCache< K, V > &  cache)
inline

Member Function Documentation

template<class K , class V >
void infinispan::hotrod::event::CacheClientListener< K, V >::add_listener ( std::function< void(ClientCacheEntryCreatedEvent< K >)>  callback)
inline
template<class K , class V >
void infinispan::hotrod::event::CacheClientListener< K, V >::add_listener ( std::function< void(ClientCacheEntryExpiredEvent< K >)>  callback)
inline
template<class K , class V >
void infinispan::hotrod::event::CacheClientListener< K, V >::add_listener ( std::function< void(ClientCacheEntryModifiedEvent< K >)>  callback)
inline
template<class K , class V >
void infinispan::hotrod::event::CacheClientListener< K, V >::add_listener ( std::function< void(ClientCacheEntryRemovedEvent< K >)>  callback)
inline
template<class K , class V >
void infinispan::hotrod::event::CacheClientListener< K, V >::add_listener ( std::function< void(ClientCacheEntryCustomEvent)>  callback)
inline
template<class K , class V >
virtual void infinispan::hotrod::event::CacheClientListener< K, V >::processEvent ( ClientCacheEntryCreatedEvent< std::vector< char >>  marshEv,
std::vector< char >  listId,
uint8_t  isCustom 
) const
inlinevirtual
template<class K , class V >
virtual void infinispan::hotrod::event::CacheClientListener< K, V >::processEvent ( ClientCacheEntryModifiedEvent< std::vector< char >>  marshEv,
std::vector< char >  listId,
uint8_t  isCustom 
) const
inlinevirtual
template<class K , class V >
virtual void infinispan::hotrod::event::CacheClientListener< K, V >::processEvent ( ClientCacheEntryRemovedEvent< std::vector< char >>  marshEv,
std::vector< char >  listId,
uint8_t  isCustom 
) const
inlinevirtual
template<class K , class V >
virtual void infinispan::hotrod::event::CacheClientListener< K, V >::processEvent ( ClientCacheEntryExpiredEvent< std::vector< char >>  marshEv,
std::vector< char >  listId,
uint8_t  isCustom 
) const
inlinevirtual
template<class K , class V >
virtual void infinispan::hotrod::event::CacheClientListener< K, V >::processEvent ( ClientCacheEntryCustomEvent  ev,
std::vector< char >  listId,
uint8_t  isCustom 
) const
inlinevirtual

Member Data Documentation

template<class K , class V >
RemoteCacheBase& infinispan::hotrod::event::CacheClientListener< K, V >::cache
template<class K , class V >
const unsigned char infinispan::hotrod::event::CacheClientListener< K, V >::INTEREST_FLAG_ALL = 0x0f
static
template<class K , class V >
const unsigned char infinispan::hotrod::event::CacheClientListener< K, V >::INTEREST_FLAG_CREATED = 0x01
static
template<class K , class V >
const unsigned char infinispan::hotrod::event::CacheClientListener< K, V >::INTEREST_FLAG_EXPIRED = 0x08
static
template<class K , class V >
const unsigned char infinispan::hotrod::event::CacheClientListener< K, V >::INTEREST_FLAG_MODIFIED = 0x02
static
template<class K , class V >
const unsigned char infinispan::hotrod::event::CacheClientListener< K, V >::INTEREST_FLAG_REMOVED = 0x04
static

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