Created
February 27, 2014 18:47
-
-
Save enesakar/9256472 to your computer and use it in GitHub Desktop.
c stats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.hazelcast.cache; | |
| import com.hazelcast.monitor.NearCacheStats; | |
| public interface CacheStats { | |
| /** | |
| * Returns the total number of entries in the cluster | |
| * | |
| * @return size | |
| */ | |
| long getCacheSize(); | |
| /** | |
| * Returns the total hit count | |
| * | |
| * @return hit count | |
| */ | |
| long getHits(); | |
| /** | |
| * Returns the total miss count | |
| * | |
| * @return miss count | |
| */ | |
| long getMisses(); | |
| /** | |
| * Returns the total put count | |
| * | |
| * @return put count | |
| */ | |
| long getPuts(); | |
| /** | |
| * Returns the total get count | |
| * | |
| * @return get count | |
| */ | |
| long getGets(); | |
| /** | |
| * Returns the total remove count | |
| * | |
| * @return remove count | |
| */ | |
| long getRemoves(); | |
| /** | |
| * Returns the average latency for put operations in milliseconds | |
| * | |
| * @return average put latency | |
| */ | |
| long getAveragePutLatency(); | |
| /** | |
| * Returns the average latency for get operations in milliseconds | |
| * | |
| * @return average get latency | |
| */ | |
| long getAverageGetLatency(); | |
| /** | |
| * Returns the average latency for remove operations in milliseconds | |
| * | |
| * @return average remove latency | |
| */ | |
| long getAverageRemoveLatency(); | |
| /** | |
| * Returns the cache's creation time | |
| * | |
| * @return creation time | |
| */ | |
| long getCreationTime(); | |
| /** | |
| * Returns the time when the cache is updated last | |
| * | |
| * @return last update time | |
| */ | |
| long getLastUpdateTime(); | |
| /** | |
| * Returns the time when the cache is accessed last | |
| * | |
| * @return last access time | |
| */ | |
| long getLastAccessTime(); | |
| /** | |
| * Returns the near cache stats | |
| * | |
| * @return near cache stats | |
| */ | |
| NearCacheStats getNearCacheStats(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment