public class CacheEntry extends Object implements Serializable, Comparable
| Constructor and Description |
|---|
CacheEntry() |
CacheEntry(String key,
long size,
long cacheHits,
long cacheMiss,
String cacheHitRate,
long inMemorySize) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o) |
String |
getCacheHitRate() |
long |
getCacheHits() |
long |
getCacheMiss() |
long |
getInMemorySize() |
String |
getKey() |
long |
getSize() |
int |
hashCode() |
void |
setCacheHitRate(String cacheHitRate) |
void |
setCacheHits(long cacheHits) |
void |
setCacheMiss(long cacheMiss) |
void |
setInMemorySize(long inMemorySize) |
void |
setKey(String key) |
void |
setSize(long size) |
String |
toString() |
public String getKey()
public void setKey(String key)
public long getSize()
public void setSize(long size)
public long getCacheHits()
public void setCacheHits(long cacheHits)
public long getCacheMiss()
public void setCacheMiss(long cacheMiss)
public String getCacheHitRate()
public void setCacheHitRate(String cacheHitRate)
public long getInMemorySize()
public void setInMemorySize(long inMemorySize)
public int compareTo(Object o)
compareTo in interface ComparableCopyright © 2006–2014 The Apache Software Foundation. All rights reserved.