Package org.jgroups.blocks
Class LazyRemovalCache.Entry<V>
- java.lang.Object
-
- org.jgroups.blocks.LazyRemovalCache.Entry<V>
-
- Enclosing class:
- LazyRemovalCache<K,V>
public static class LazyRemovalCache.Entry<V> extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
getVal()
boolean
isRemovable()
void
setRemovable(boolean flag)
java.lang.String
toString()
java.lang.String
toString(java.util.function.Function<V,java.lang.String> print_val)
-
-
-
Field Detail
-
val
protected final V val
-
timestamp
protected long timestamp
-
removable
protected boolean removable
-
-
Constructor Detail
-
Entry
public Entry(V val)
-
-
Method Detail
-
isRemovable
public boolean isRemovable()
-
setRemovable
public void setRemovable(boolean flag)
-
getVal
public V getVal()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(java.util.function.Function<V,java.lang.String> print_val)
-
-