|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.monitor.impl.NearCacheStatsImpl
public class NearCacheStatsImpl
| Field Summary |
|---|
| Fields inherited from interface com.hazelcast.monitor.LocalInstanceStats |
|---|
STAT_NOT_AVAILABLE |
| Constructor Summary | |
|---|---|
NearCacheStatsImpl()
|
|
| Method Summary | |
|---|---|
void |
decrementOwnedEntryCount()
|
void |
decrementOwnedEntryMemoryCost(long ownedEntryMemoryCost)
|
void |
fromJson(com.eclipsesource.json.JsonObject json)
|
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. |
void |
incrementHits()
|
void |
incrementMisses()
|
void |
incrementOwnedEntryCount()
|
void |
incrementOwnedEntryMemoryCost(long ownedEntryMemoryCost)
|
void |
setHits(long hits)
|
void |
setMisses(long misses)
|
void |
setOwnedEntryCount(long ownedEntryCount)
|
void |
setOwnedEntryMemoryCost(long ownedEntryMemoryCost)
|
com.eclipsesource.json.JsonObject |
toJson()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NearCacheStatsImpl()
| Method Detail |
|---|
public long getCreationTime()
NearCacheStats
getCreationTime in interface LocalInstanceStatsgetCreationTime in interface NearCacheStatspublic long getOwnedEntryCount()
NearCacheStats
getOwnedEntryCount in interface NearCacheStatspublic void setOwnedEntryCount(long ownedEntryCount)
public void incrementOwnedEntryCount()
public void decrementOwnedEntryCount()
public long getOwnedEntryMemoryCost()
NearCacheStats
getOwnedEntryMemoryCost in interface NearCacheStatspublic void setOwnedEntryMemoryCost(long ownedEntryMemoryCost)
public void incrementOwnedEntryMemoryCost(long ownedEntryMemoryCost)
public void decrementOwnedEntryMemoryCost(long ownedEntryMemoryCost)
public long getHits()
NearCacheStats
getHits in interface NearCacheStatspublic void incrementHits()
public void setHits(long hits)
public long getMisses()
NearCacheStats
getMisses in interface NearCacheStatspublic void setMisses(long misses)
public void incrementMisses()
public double getRatio()
NearCacheStats
getRatio in interface NearCacheStatspublic com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||