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 Metadata
public int getLifespan()
getLifespan
in interface Metadata
public long getLastUsed()
getLastUsed
in interface Metadata
public int getMaxIdle()
getMaxIdle
in interface Metadata
public String toString()
toString
in class VersionedValueImpl<V>
Copyright © 2021 JBoss by Red Hat. All rights reserved.