public interface GridCacheMetrics extends Serializable
GridCache.metrics() to obtain metrics for a cache.| Modifier and Type | Method and Description |
|---|---|
long |
commitTime()
Gets last time transaction was committed.
|
long |
createTime()
Gets create time of the owning entity (either cache or entry).
|
GridDrReceiverCacheMetrics |
drReceiveMetrics()
Gets metrics for data received during data center replication, if data center replication
is not configured then
IllegalStateException will be thrown. |
GridDrSenderCacheMetrics |
drSendMetrics()
Gets metrics for data sent during data center replication, if data center replication
is not configured then
IllegalStateException will be thrown. |
int |
hits()
Gets total number of hits for the owning entity (either cache or entry).
|
int |
misses()
Gets total number of misses for the owning entity (either cache or entry).
|
int |
reads()
Gets total number of reads of the owning entity (either cache or entry).
|
long |
readTime()
Gets last read time of the owning entity (either cache or entry).
|
long |
rollbackTime()
Gets last time transaction was rollback.
|
int |
txCommits()
Gets total number of transaction commits.
|
int |
txRollbacks()
Gets total number of transaction rollbacks.
|
int |
writes()
Gets total number of writes of the owning entity (either cache or entry).
|
long |
writeTime()
Gets last write time of the owning entity (either cache or entry).
|
long createTime()
long writeTime()
long readTime()
long commitTime()
long rollbackTime()
int reads()
int writes()
int hits()
int misses()
int txCommits()
int txRollbacks()
GridDrSenderCacheMetrics drSendMetrics()
IllegalStateException will be thrown.GridDrReceiverCacheMetrics drReceiveMetrics()
IllegalStateException will be thrown.Copyright © 2014. All rights reserved.