Hazelcast C++ Client
Public Member Functions | List of all members
hazelcast::client::mixedtype::config::MixedNearCacheConfig Class Reference
+ Inheritance diagram for hazelcast::client::mixedtype::config::MixedNearCacheConfig:

Public Member Functions

 MixedNearCacheConfig (const char *cacheName)
 
virtual MixedNearCacheConfigsetInMemoryFormat (const client::config::InMemoryFormat &inMemoryFormat)
 
- Public Member Functions inherited from hazelcast::client::config::NearCacheConfig< TypedData, TypedData >
 NearCacheConfig (const char *cacheName)
 
 NearCacheConfig (const char *cacheName, InMemoryFormat memoryFormat)
 
 NearCacheConfig (int32_t timeToLiveSeconds, int32_t maxIdleSeconds, bool invalidateOnChange, InMemoryFormat inMemoryFormat, boost::shared_ptr< EvictionConfig< TypedData, TypedData > > evictConfig)
 
 NearCacheConfig (const NearCacheConfig< TypedData, TypedData > &config)
 
const std::string & getName () const
 Gets the name of the Near Cache. More...
 
NearCacheConfigsetName (const std::string &name)
 Sets the name of the Near Cache. More...
 
int32_t getTimeToLiveSeconds () const
 Gets the maximum number of seconds for each entry to stay in the Near Cache. More...
 
NearCacheConfigsetTimeToLiveSeconds (int32_t timeToLiveSeconds)
 Sets the maximum number of seconds for each entry to stay in the Near Cache. More...
 
int32_t getMaxIdleSeconds () const
 Maximum number of seconds each entry can stay in the Near Cache as untouched (not-read). More...
 
NearCacheConfigsetMaxIdleSeconds (int32_t maxIdleSeconds)
 Maximum number of seconds each entry can stay in the Near Cache as untouched (not-read). More...
 
bool isInvalidateOnChange () const
 True to evict the cached entries if the entries are changed (updated or removed). More...
 
NearCacheConfigsetInvalidateOnChange (bool invalidateOnChange)
 True to evict the cached entries if the entries are changed (updated or removed). More...
 
const InMemoryFormat & getInMemoryFormat () const
 Gets the data type used to store entries. More...
 
virtual NearCacheConfigsetInMemoryFormat (const InMemoryFormat &inMemoryFormat)
 Sets the data type used to store entries. More...
 
bool isCacheLocalEntries () const
 If true, cache local entries also. More...
 
NearCacheConfigsetCacheLocalEntries (bool cacheLocalEntries)
 True to cache local entries also. More...
 
const LocalUpdatePolicygetLocalUpdatePolicy () const
 
NearCacheConfigsetLocalUpdatePolicy (const LocalUpdatePolicy &localUpdatePolicy)
 
const boost::shared_ptr< EvictionConfig< TypedData, TypedData > > & getEvictionConfig () const
 The eviction configuration. More...
 
NearCacheConfigsetEvictionConfig (const boost::shared_ptr< EvictionConfig< TypedData, TypedData > > &evictionConfig)
 Sets the eviction configuration. More...
 
std::ostream & operator<< (std::ostream &out)
 

Additional Inherited Members

- Public Types inherited from hazelcast::client::config::NearCacheConfig< TypedData, TypedData >
enum  LocalUpdatePolicy
 Local Update Policy enum.
 
- Static Public Attributes inherited from hazelcast::client::config::NearCacheConfig< TypedData, TypedData >
static const int32_t DEFAULT_TTL_SECONDS
 Default value of the time to live in seconds.
 
static const int32_t DEFAULT_MAX_IDLE_SECONDS
 Default value of the idle time for eviction in seconds.
 
static const InMemoryFormat DEFAULT_MEMORY_FORMAT
 Default value for the in-memory format.
 

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