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()
MetadataCollection
getCollection
in interface MetadataCollection<V>
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 long getVersion()
getVersion
in interface Versioned
Copyright © 2021 JBoss by Red Hat. All rights reserved.