com.hazelcast.monitor
Interface NearCacheStats

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

public interface NearCacheStats
extends LocalInstanceStats


Field Summary
 
Fields inherited from interface com.hazelcast.monitor.LocalInstanceStats
STAT_NOT_AVAILABLE
 
Method Summary
 long getCreationTime()
          Returns the creation time of this NearCache on this member
 long getHits()
          Returns the number of hits (reads) of the locally owned entries.
 long getMisses()
          Returns the number of misses of the locally owned entries.
 long getOwnedEntryCount()
          Returns the number of entries owned by this member.
 long getOwnedEntryMemoryCost()
          Returns memory cost (number of bytes) of entries in this cache.
 double getRatio()
          Returns the hit/miss ratio of the locally owned entries.
 
Methods inherited from interface com.hazelcast.management.JsonSerializable
fromJson, toJson
 

Method Detail

getCreationTime

long getCreationTime()
Returns the creation time of this NearCache on this member

Specified by:
getCreationTime in interface LocalInstanceStats
Returns:
creation time of this NearCache on this member

getOwnedEntryCount

long getOwnedEntryCount()
Returns the number of entries owned by this member.

Returns:
number of entries owned by this member.

getOwnedEntryMemoryCost

long getOwnedEntryMemoryCost()
Returns memory cost (number of bytes) of entries in this cache.

Returns:
memory cost (number of bytes) of entries in this cache.

getHits

long getHits()
Returns the number of hits (reads) of the locally owned entries.

Returns:
number of hits (reads).

getMisses

long getMisses()
Returns the number of misses of the locally owned entries.

Returns:
number of misses.

getRatio

double getRatio()
Returns the hit/miss ratio of the locally owned entries.

Returns:
hit/miss ratio.


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