public class CacheEntry extends Object implements Serializable, Comparable
Modifier and Type | Field and Description |
---|---|
private String |
cacheHitRate |
private long |
cacheHits |
private long |
cacheMiss |
private long |
inMemorySize |
private String |
key |
private long |
size |
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() |
private long size
private long cacheHits
private long cacheMiss
private String cacheHitRate
private long inMemorySize
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–2022 The Apache Software Foundation. All rights reserved.