Package org.jgroups.blocks
Class Cache.Value<V>
java.lang.Object
org.jgroups.blocks.Cache.Value<V>
- All Implemented Interfaces:
Externalizable,Serializable
- See Also:
-
Field Details
-
value
-
insertion_time
private long insertion_time -
timeout
private transient long timeoutWhen the value can be reaped (in ms) -
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
Value
-
Value
public Value()
-
-
Method Details
-
getValue
-
getInsertionTime
public long getInsertionTime() -
getTimeout
public long getTimeout() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-