public static class Cache.Value<V>
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Method and Description |
---|---|
long |
getInsertionTime() |
long |
getTimeout() |
V |
getValue() |
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
public Value(V value, long timeout)
public Value()
public V getValue()
public long getInsertionTime()
public long getTimeout()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 1998-2020 Red Hat. All Rights Reserved.