public class VisorCacheMetrics extends VisorDataTransferObject
CacheMetrics
.Constructor and Description |
---|
VisorCacheMetrics()
Default constructor.
|
VisorCacheMetrics(IgniteEx ignite,
String cacheName)
Create data transfer object for given cache metrics.
|
getProtocolVersion, readExternal, toList, writeExternal
public String getName()
public void setName(String name)
name
- New value for cache name.public CacheMode getMode()
public boolean isSystem()
public long getReads()
public float getAvgReadTime()
public long getWrites()
public long getHits()
public long getMisses()
public long getTxCommits()
public float getAvgTxCommitTime()
public float getAvgTxRollbackTime()
public long getPuts()
public float getAvgPutTime()
public long getRemovals()
public float getAvgRemovalTime()
public long getEvictions()
public long getTxRollbacks()
public int getReadsPerSecond()
public int getPutsPerSecond()
public int getRemovalsPerSecond()
public int getCommitsPerSecond()
public int getRollbacksPerSecond()
public int getSize()
null
values in the cache.public int getKeySize()
null
values.public VisorQueryMetrics getQueryMetrics()
public int getDhtEvictQueueCurrentSize()
public int getTxThreadMapSize()
public int getTxXidMapSize()
public int getTxCommitQueueSize()
public int getTxPrepareQueueSize()
public int getTxStartVersionCountsSize()
public int getTxCommittedVersionsSize()
public int getTxRolledbackVersionsSize()
public int getTxDhtThreadMapSize()
public int getTxDhtXidMapSize()
public int getTxDhtCommitQueueSize()
public int getTxDhtPrepareQueueSize()
public int getTxDhtStartVersionCountsSize()
public int getTxDhtCommittedVersionsSize()
public int getTxDhtRolledbackVersionsSize()
public long getOffHeapAllocatedSize()
public long offHeapEntriesCount()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData
in class VisorDataTransferObject
out
- Output object to write data content.IOException
- If I/O errors occur.protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundException
readExternalData
in class VisorDataTransferObject
protoVer
- Input object version.in
- Input object to load data content.IOException
- If I/O errors occur.ClassNotFoundException
- If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017