| Modifier and Type | Class and Description |
|---|---|
static class |
EmbeddedMetadata.Builder |
static class |
EmbeddedMetadata.Externalizer |
| Modifier and Type | Field and Description |
|---|---|
static EmbeddedMetadata |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
Metadata.Builder |
builder()
Returns an instance of
Metadata.Builder which can be used to build
new instances of Metadata instance which are full copies of
this Metadata. |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
long |
lifespan()
Returns the lifespan of the cache entry with which this metadata object
is associated, in milliseconds.
|
long |
maxIdle()
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.
|
java.lang.String |
toString() |
EntryVersion |
version()
Returns the version of the cache entry with which this metadata object
is associated.
|
public static final EmbeddedMetadata EMPTY
public long lifespan()
Metadatapublic long maxIdle()
Metadatapublic EntryVersion version()
Metadatapublic Metadata.Builder builder()
MetadataMetadata.Builder which can be used to build
new instances of Metadata instance which are full copies of
this Metadata.builder in interface MetadataMetadata.Builderpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object