public static final class LRUCache.CacheValue<V> extends Object implements Accountable
Modifier and Type | Field and Description |
---|---|
static long |
BASE_RAM_BYTES_USED |
long |
createTime |
V |
value |
Constructor and Description |
---|
CacheValue(V value,
long createTime) |
Modifier and Type | Method and Description |
---|---|
long |
ramBytesUsed() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
public static final long BASE_RAM_BYTES_USED
public final long createTime
public final V value
public CacheValue(V value, long createTime)
public long ramBytesUsed()
ramBytesUsed
in interface Accountable
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.