Skip to content

Instantly share code, notes, and snippets.

@enesakar
Created February 27, 2014 18:50
Show Gist options
  • Select an option

  • Save enesakar/9256507 to your computer and use it in GitHub Desktop.

Select an option

Save enesakar/9256507 to your computer and use it in GitHub Desktop.
package com.hazelcast.monitor;
public interface NearCacheStats extends LocalInstanceStats {
/**
* Returns the creation time of this NearCache on this member
*
* @return creation time of this NearCache on this member
*/
long getCreationTime();
/**
* Returns the number of entries owned by this member.
*
* @return number of entries owned by this member.
*/
long getOwnedEntryCount();
/**
* Returns memory cost (number of bytes) of entries in this cache.
*
* @return memory cost (number of bytes) of entries in this cache.
*/
long getOwnedEntryMemoryCost();
/**
* Returns the number of hits (reads) of the locally owned entries.
*
* @return number of hits (reads).
*/
long getHits();
/**
* Returns the number of misses of the locally owned entries.
*
* @return number of misses.
*/
long getMisses();
/**
* Returns the hit/miss ratio of the locally owned entries.
*
* @return hit/miss ratio.
*/
double getRatio();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment