public class MetadataValueImpl<V> extends VersionedValueImpl<V> implements MetadataValue<V>
Constructor and Description |
---|
MetadataValueImpl(long created,
int lifespan,
long lastUsed,
int maxIdle,
long version,
V value) |
Modifier and Type | Method and Description |
---|---|
long |
getCreated() |
long |
getLastUsed() |
int |
getLifespan() |
int |
getMaxIdle() |
String |
toString() |
getValue, getVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue, getVersion
public MetadataValueImpl(long created, int lifespan, long lastUsed, int maxIdle, long version, V value)
public long getCreated()
getCreated
in interface MetadataValue<V>
public int getLifespan()
getLifespan
in interface MetadataValue<V>
public long getLastUsed()
getLastUsed
in interface MetadataValue<V>
public int getMaxIdle()
getMaxIdle
in interface MetadataValue<V>
public String toString()
toString
in class VersionedValueImpl<V>
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.