21 #include "hazelcast/util/export.h"
23 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
25 #pragma warning(disable: 4251)
40 virtual int64_t get_creation_time() = 0;
150 virtual std::string to_string() = 0;
156 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
static const int64_t STAT_NOT_AVAILABLE
Fill a stat value with this if it is not available.
virtual int64_t get_expirations()=0
Returns the number of TTL and max-idle expirations of Near Cache entries owned by this member.
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 enable...
virtual int64_t get_hits()=0
Returns the number of hits (reads) of Near Cache entries owned by this member.
virtual int64_t get_owned_entry_count()=0
Returns the number of Near Cache entries owned by this member.
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).
virtual int64_t get_misses()=0
Returns the number of misses of Near Cache entries owned by this member.
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).
virtual int64_t get_invalidations()=0
Returns the number of invalidations of Near Cache entries owned by this member.
virtual int64_t get_evictions()=0
Returns the number of evictions of Near Cache entries owned by this member.
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 featur...
virtual double get_ratio()=0
Returns the hit/miss ratio of Near Cache entries owned by this member.
virtual int64_t get_owned_entry_memory_cost()=0
Returns memory cost (number of bytes) of Near Cache entries owned by this member.
virtual int64_t get_persistence_count()=0
Returns the number of Near Cache key persistences (when the pre-load feature is enabled).
int64_t get_creation_time()=0
Returns the creation time of this Near Cache on this member.
virtual int64_t get_last_persistence_duration()=0
Returns the duration in milliseconds of the last Near Cache key persistence (when the pre-load featur...