Hazelcast C++ Client
Hazelcast C++ Client Library
hazelcast::client::monitor::near_cache_stats Class Referenceabstract
+ Inheritance diagram for hazelcast::client::monitor::near_cache_stats:

Public Member Functions

int64_t get_creation_time ()=0
 Returns the creation time of this Near Cache on this member. More...
 
virtual int64_t get_owned_entry_count ()=0
 Returns the number of Near Cache entries owned by this member. More...
 
virtual int64_t get_owned_entry_memory_cost ()=0
 Returns memory cost (number of bytes) of Near Cache entries owned by this member. More...
 
virtual int64_t get_hits ()=0
 Returns the number of hits (reads) of Near Cache entries owned by this member. More...
 
virtual int64_t get_misses ()=0
 Returns the number of misses of Near Cache entries owned by this member. More...
 
virtual double get_ratio ()=0
 Returns the hit/miss ratio of Near Cache entries owned by this member. More...
 
virtual int64_t get_evictions ()=0
 Returns the number of evictions of Near Cache entries owned by this member. More...
 
virtual int64_t get_expirations ()=0
 Returns the number of TTL and max-idle expirations of Near Cache entries owned by this member. More...
 
virtual int64_t get_invalidations ()=0
 Returns the number of invalidations of Near Cache entries owned by this member. More...
 
virtual int64_t get_persistence_count ()=0
 Returns the number of Near Cache key persistences (when the pre-load feature is enabled). More...
 
virtual int64_t get_last_persistence_time ()=0
 Returns the timestamp of the last Near Cache key persistence (when the pre-load feature is enabled). More...
 
virtual int64_t get_last_persistence_duration ()=0
 Returns the duration in milliseconds of the last Near Cache key persistence (when the pre-load feature is enabled). More...
 
virtual int64_t get_last_persistence_written_bytes ()=0
 Returns the written bytes of the last Near Cache key persistence (when the pre-load feature is enabled). More...
 
virtual int64_t get_last_persistence_key_count ()=0
 Returns the number of persisted keys of the last Near Cache key persistence (when the pre-load feature is enabled). More...
 
virtual std::string get_last_persistence_failure ()=0
 Returns the failure reason of the last Near Cache persistence (when the pre-load feature is enabled). More...
 
virtual std::string to_string ()=0
 

Additional Inherited Members

- Static Public Attributes inherited from hazelcast::client::monitor::local_instance_stats
static const int64_t STAT_NOT_AVAILABLE = -99L
 Fill a stat value with this if it is not available.
 

Detailed Description

Definition at line 43 of file near_cache_stats.h.

Member Function Documentation

◆ get_creation_time()

int64_t hazelcast::client::monitor::near_cache_stats::get_creation_time ( )
pure virtual

Returns the creation time of this Near Cache on this member.

Returns
creation time of this Near Cache on this member.

Implements hazelcast::client::monitor::local_instance_stats.

◆ get_evictions()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_evictions ( )
pure virtual

Returns the number of evictions of Near Cache entries owned by this member.

Returns
number of evictions of Near Cache entries owned by this member.

◆ get_expirations()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_expirations ( )
pure virtual

Returns the number of TTL and max-idle expirations of Near Cache entries owned by this member.

Returns
number of TTL and max-idle expirations of Near Cache entries owned by this member.

◆ get_hits()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_hits ( )
pure virtual

Returns the number of hits (reads) of Near Cache entries owned by this member.

Returns
number of hits (reads) of Near Cache entries owned by this member.

◆ get_invalidations()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_invalidations ( )
pure virtual

Returns the number of invalidations of Near Cache entries owned by this member.

Returns
number of invalidations of Near Cache entries owned by this member

◆ get_last_persistence_duration()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_last_persistence_duration ( )
pure virtual

Returns the duration in milliseconds of the last Near Cache key persistence (when the pre-load feature is enabled).

Returns
the duration of the last Near Cache key persistence (in milliseconds)

◆ get_last_persistence_failure()

virtual std::string hazelcast::client::monitor::near_cache_stats::get_last_persistence_failure ( )
pure virtual

Returns the failure reason of the last Near Cache persistence (when the pre-load feature is enabled).

Returns
the failure reason of the last Near Cache persistence

◆ get_last_persistence_key_count()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_last_persistence_key_count ( )
pure virtual

Returns the number of persisted keys of the last Near Cache key persistence (when the pre-load feature is enabled).

Returns
the number of persisted keys of the last Near Cache key persistence

◆ get_last_persistence_time()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_last_persistence_time ( )
pure virtual

Returns the timestamp of the last Near Cache key persistence (when the pre-load feature is enabled).

Returns
the timestamp of the last Near Cache key persistence

◆ get_last_persistence_written_bytes()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_last_persistence_written_bytes ( )
pure virtual

Returns the written bytes of the last Near Cache key persistence (when the pre-load feature is enabled).

Returns
the written bytes of the last Near Cache key persistence

◆ get_misses()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_misses ( )
pure virtual

Returns the number of misses of Near Cache entries owned by this member.

Returns
number of misses of Near Cache entries owned by this member.

◆ get_owned_entry_count()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_owned_entry_count ( )
pure virtual

Returns the number of Near Cache entries owned by this member.

Returns
number of Near Cache entries owned by this member.

◆ get_owned_entry_memory_cost()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_owned_entry_memory_cost ( )
pure virtual

Returns memory cost (number of bytes) of Near Cache entries owned by this member.

Returns
memory cost (number of bytes) of Near Cache entries owned by this member.

◆ get_persistence_count()

virtual int64_t hazelcast::client::monitor::near_cache_stats::get_persistence_count ( )
pure virtual

Returns the number of Near Cache key persistences (when the pre-load feature is enabled).

Returns
the number of Near Cache key persistences

◆ get_ratio()

virtual double hazelcast::client::monitor::near_cache_stats::get_ratio ( )
pure virtual

Returns the hit/miss ratio of Near Cache entries owned by this member.

Returns
hit/miss ratio of Near Cache entries owned by this member.

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