public class MetadataCollectionImpl<V> extends Object implements MetadataCollection<V>
| Constructor and Description |
|---|
MetadataCollectionImpl(Collection<V> collection) |
MetadataCollectionImpl(Collection<V> collection,
long created,
int lifespan,
long lastUsed,
int maxIdle,
long version) |
| Modifier and Type | Method and Description |
|---|---|
Collection<V> |
getCollection()
Collection of values with metadata
|
long |
getCreated() |
long |
getLastUsed() |
int |
getLifespan() |
int |
getMaxIdle() |
long |
getVersion() |
String |
toString() |
public MetadataCollectionImpl(Collection<V> collection)
public MetadataCollectionImpl(Collection<V> collection, long created, int lifespan, long lastUsed, int maxIdle, long version)
public Collection<V> getCollection()
MetadataCollectiongetCollection in interface MetadataCollection<V>public long getCreated()
getCreated in interface Metadatapublic int getLifespan()
getLifespan in interface Metadatapublic long getLastUsed()
getLastUsed in interface Metadatapublic int getMaxIdle()
getMaxIdle in interface Metadatapublic long getVersion()
getVersion in interface VersionedCopyright © 2022 JBoss by Red Hat. All rights reserved.