V
- the type of the value objectpublic static class EntryLoader.MetadataAwareValue<V> extends Object
Modifier and Type | Field and Description |
---|---|
static long |
NO_TIME_SET
Represents no expiration time for a particular value
|
Constructor and Description |
---|
MetadataAwareValue(V value)
Creates a value without attaching an expiration time
|
MetadataAwareValue(V value,
long expirationTime)
Creates a value and attaches an expiration time to it.
|
Modifier and Type | Method and Description |
---|---|
long |
getExpirationTime()
The expiration date of this entry.
|
V |
getValue()
Returns the value
|
public static final long NO_TIME_SET
public MetadataAwareValue(V value)
value
- the valuepublic MetadataAwareValue(V value, long expirationTime)
getExpirationTime()
for how expiration time
is defined.value
- the valueexpirationTime
- expiration time associated with the valuepublic V getValue()
public long getExpirationTime()
Copyright © 2024 Hazelcast, Inc.. All rights reserved.