@ProtoTypeId(value=7) public static class EmbeddedMetadata.EmbeddedMaxIdleExpirableMetadata extends EmbeddedMetadata
EmbeddedMetadata.Builder, EmbeddedMetadata.EmbeddedExpirableMetadata, EmbeddedMetadata.EmbeddedLifespanExpirableMetadata, EmbeddedMetadata.EmbeddedMaxIdleExpirableMetadata, EmbeddedMetadata.Externalizer
EMPTY, version
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(Object o) |
int |
hashCode() |
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.
|
String |
toString() |
getClusteredVersion, getNumericVersion, lifespan, version
@ProtoField(number=3, defaultValue="-1") public long maxIdle()
Metadata
maxIdle
in interface Metadata
maxIdle
in class EmbeddedMetadata
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
builder
in class EmbeddedMetadata
Metadata.Builder
public boolean equals(Object o)
equals
in class EmbeddedMetadata
public int hashCode()
hashCode
in class EmbeddedMetadata
public String toString()
toString
in class EmbeddedMetadata
Copyright © 2021 JBoss by Red Hat. All rights reserved.