16 #ifndef HAZELCAST_CLIENT_MONITOR_NEARCACHESTATS_H_
17 #define HAZELCAST_CLIENT_MONITOR_NEARCACHESTATS_H_
22 #include "hazelcast/util/HazelcastDll.h"
24 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
26 #pragma warning(disable: 4251) //for dll export
42 virtual int64_t getCreationTime() = 0;
53 virtual int64_t getCreationTime() = 0;
60 virtual int64_t getOwnedEntryCount() = 0;
67 virtual int64_t getOwnedEntryMemoryCost() = 0;
74 virtual int64_t getHits() = 0;
81 virtual int64_t getMisses() = 0;
88 virtual double getRatio() = 0;
95 virtual int64_t getEvictions() = 0;
102 virtual int64_t getExpirations() = 0;
109 virtual int64_t getPersistenceCount() = 0;
116 virtual int64_t getLastPersistenceTime() = 0;
123 virtual int64_t getLastPersistenceDuration() = 0;
130 virtual int64_t getLastPersistenceWrittenBytes() = 0;
137 virtual int64_t getLastPersistenceKeyCount() = 0;
144 virtual std::string getLastPersistenceFailure() = 0;
146 virtual std::string toString() = 0;
152 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Definition: NearCacheStats.h:45
Definition: NearCacheStats.h:32
static const int64_t STAT_NOT_AVAILABLE
Fill a stat value with this if it is not available.
Definition: NearCacheStats.h:40