Package org.jgroups.blocks
Class Cache.Value<V>
- java.lang.Object
-
- org.jgroups.blocks.Cache.Value<V>
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
public static class Cache.Value<V> extends java.lang.Object implements java.io.Externalizable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getInsertionTime()
long
getTimeout()
V
getValue()
void
readExternal(java.io.ObjectInput in)
void
writeExternal(java.io.ObjectOutput out)
-
-
-
Constructor Detail
-
Value
public Value(V value, long timeout)
-
Value
public Value()
-
-
Method Detail
-
getValue
public V getValue()
-
getInsertionTime
public long getInsertionTime()
-
getTimeout
public long getTimeout()
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
- Specified by:
writeExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
readExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
-