public static class Cache.Value<V> extends Object implements Externalizable
| Constructor and Description |
|---|
Cache.Value() |
Cache.Value(V value,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
long |
getInsertionTime() |
long |
getTimeout() |
V |
getValue() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public Cache.Value(V value, long timeout)
public Cache.Value()
public V getValue()
public long getInsertionTime()
public long getTimeout()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.