com.hazelcast.monitor
Interface LocalCacheStats

All Superinterfaces:
JsonSerializable, LocalInstanceStats
All Known Implementing Classes:
LocalCacheStatsImpl

public interface LocalCacheStats
extends LocalInstanceStats

Local cache statistics interface to be used by MemberState implementations.


Field Summary
 
Fields inherited from interface com.hazelcast.monitor.LocalInstanceStats
STAT_NOT_AVAILABLE
 
Method Summary
 float getAverageGetTime()
          The mean time to execute gets
 float getAveragePutTime()
          The mean time to execute puts
 float getAverageRemoveTime()
          The mean time to execute removes
 long getCacheEvictions()
           
 long getCacheGets()
           
 float getCacheHitPercentage()
           
 long getCacheHits()
           
 long getCacheMisses()
           
 float getCacheMissPercentage()
           
 long getCachePuts()
           
 long getCacheRemovals()
           
 
Methods inherited from interface com.hazelcast.monitor.LocalInstanceStats
getCreationTime
 
Methods inherited from interface com.hazelcast.management.JsonSerializable
fromJson, toJson
 

Method Detail

getCacheHits

long getCacheHits()
Returns:
the number of hits

getCacheHitPercentage

float getCacheHitPercentage()
Returns:
the percentage of hits (successful get operations)

getCacheMisses

long getCacheMisses()
Returns:
the number misses

getCacheMissPercentage

float getCacheMissPercentage()
Returns:
the percentage of missed cache accesses

getCacheGets

long getCacheGets()
Returns:
the number of gets

getCachePuts

long getCachePuts()
Returns:
the number of puts

getCacheRemovals

long getCacheRemovals()
Returns:
the number of removals

getCacheEvictions

long getCacheEvictions()
Returns:
the number of evictions

getAverageGetTime

float getAverageGetTime()
The mean time to execute gets

Returns:
the time in µs

getAveragePutTime

float getAveragePutTime()
The mean time to execute puts

Returns:
the time in µs

getAverageRemoveTime

float getAverageRemoveTime()
The mean time to execute removes

Returns:
the time in µs


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.