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 CacheEntry()
public CacheEntry(String key, long size, long cacheHits, long cacheMiss, String cacheHitRate, long inMemorySize)
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 Comparable
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.