@Deprecated public class InternalMetadataImpl extends Object implements InternalMetadata
Metadata.Builder
Constructor and Description |
---|
InternalMetadataImpl()
Deprecated.
|
InternalMetadataImpl(InternalCacheEntry ice)
Deprecated.
|
InternalMetadataImpl(InternalCacheValue icv)
Deprecated.
|
InternalMetadataImpl(Metadata actual,
long created,
long lastUsed)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Metadata |
actual()
Deprecated.
|
Metadata.Builder |
builder()
Deprecated.
Returns an instance of
Metadata.Builder which can be used to build
new instances of Metadata instance which are full copies of
this Metadata . |
long |
created()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
long |
expiryTime()
Deprecated.
|
static Metadata |
extractMetadata(Metadata metadata)
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isExpired(long now)
Deprecated.
|
long |
lastUsed()
Deprecated.
|
long |
lifespan()
Deprecated.
Returns the lifespan of the cache entry with which this metadata object
is associated, in milliseconds.
|
long |
maxIdle()
Deprecated.
Returns the the maximum amount of time that the cache entry associated
with this metadata object is allowed to be idle for before it is
considered as expired, in milliseconds.
|
String |
toString()
Deprecated.
|
EntryVersion |
version()
Deprecated.
Returns the version of the cache entry with which this metadata object
is associated.
|
public InternalMetadataImpl()
public InternalMetadataImpl(InternalCacheEntry ice)
public InternalMetadataImpl(InternalCacheValue icv)
public InternalMetadataImpl(Metadata actual, long created, long lastUsed)
public long lifespan()
Metadata
public long maxIdle()
Metadata
public EntryVersion version()
Metadata
public Metadata.Builder builder()
Metadata
Metadata.Builder
which can be used to build
new instances of Metadata
instance which are full copies of
this Metadata
.builder
in interface Metadata
Metadata.Builder
public long created()
created
in interface InternalMetadata
public long lastUsed()
lastUsed
in interface InternalMetadata
public Metadata actual()
public long expiryTime()
expiryTime
in interface InternalMetadata
public boolean isExpired(long now)
isExpired
in interface InternalMetadata
Copyright © 2021 JBoss by Red Hat. All rights reserved.