| Modifier and Type | Method and Description |
|---|---|
V |
AdvancedCache.compute(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
An overloaded form of
#compute(K, BiFunction), which takes in an instance of Metadata which can be
used to provide metadata information for the entry being stored, such as lifespan, version of value...etc. |
default V |
AdvancedCache.compute(K key,
SerializableBiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
|
CompletableFuture<V> |
AdvancedCache.computeAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
Overloaded
#computeAsync(K, BiFunction), which stores metadata alongside the value. |
default CompletableFuture<V> |
AdvancedCache.computeAsync(K key,
SerializableBiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
|
V |
AdvancedCache.computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata)
An overloaded form of
#computeIfAbsent(K, Function), which takes in an instance of Metadata which
can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc. |
default V |
AdvancedCache.computeIfAbsent(K key,
SerializableFunction<? super K,? extends V> mappingFunction,
Metadata metadata)
|
CompletableFuture<V> |
AdvancedCache.computeIfAbsentAsync(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata)
Overloaded
#computeIfAbsentAsync(K, Function), which takes in an instance of Metadata which
can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc. |
default CompletableFuture<V> |
AdvancedCache.computeIfAbsentAsync(K key,
SerializableFunction<? super K,? extends V> mappingFunction,
Metadata metadata)
|
V |
AdvancedCache.computeIfPresent(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
An overloaded form of
#computeIfPresent(K, BiFunction), which takes in an instance of Metadata
which can be used to provide metadata information for the entry being stored, such as lifespan, version of
value...etc. |
default V |
AdvancedCache.computeIfPresent(K key,
SerializableBiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
|
CompletableFuture<V> |
AdvancedCache.computeIfPresentAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
Overloaded
#computeIfPresentAsync(K, BiFunction), which takes in an instance of Metadata
which can be used to provide metadata information for the entry being stored, such as lifespan, version of
value...etc. |
default CompletableFuture<V> |
AdvancedCache.computeIfPresentAsync(K key,
SerializableBiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
|
V |
AdvancedCache.merge(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata)
An overloaded form of
Cache.merge(Object, Object, BiFunction), which takes in an instance of Metadata
which can be used to provide metadata information for the entry being stored, such as lifespan, version of
value...etc. |
default V |
AdvancedCache.merge(K key,
V value,
SerializableBiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata)
|
CompletableFuture<V> |
AdvancedCache.mergeAsync(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata)
Overloaded
AsyncCache.mergeAsync(Object, Object, BiFunction), which takes in an instance of Metadata
which can be used to provide metadata information for the entry being stored, such as lifespan, version of
value...etc. |
default CompletableFuture<V> |
AdvancedCache.mergeAsync(K key,
V value,
SerializableBiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata)
|
V |
AdvancedCache.put(K key,
V value,
Metadata metadata)
An overloaded form of
#put(K, V), which takes in an instance of Metadata
which can be used to provide metadata information for the entry being stored, such as lifespan, version of
value...etc. |
void |
AdvancedCache.putAll(Map<? extends K,? extends V> map,
Metadata metadata)
An overloaded form of
Map.putAll(Map), which takes in an instance of Metadata
which can be used to provide metadata information for the entries being stored, such as lifespan, version of
value...etc. |
default CompletableFuture<Void> |
AdvancedCache.putAllAsync(Map<? extends K,? extends V> map,
Metadata metadata) |
CompletableFuture<V> |
AdvancedCache.putAsync(K key,
V value,
Metadata metadata)
Asynchronous version of
AdvancedCache.put(Object, Object, Metadata) which stores metadata alongside the value. |
void |
AdvancedCache.putForExternalRead(K key,
V value,
Metadata metadata)
An overloaded form of
#putForExternalRead(K, V), which takes in an instance of Metadata which can
be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc. |
V |
AdvancedCache.putIfAbsent(K key,
V value,
Metadata metadata)
An overloaded form of
#putIfAbsent(K, V), which takes in an instance of Metadata which can be used
to provide metadata information for the entry being stored, such as lifespan, version of value...etc. |
default CompletableFuture<V> |
AdvancedCache.putIfAbsentAsync(K key,
V value,
Metadata metadata)
An overloaded form of
#putIfAbsentAsync(K, V), which takes in an instance of Metadata which can be used
to provide metadata information for the entry being stored, such as lifespan, version of value...etc. |
V |
AdvancedCache.replace(K key,
V value,
Metadata metadata)
An overloaded form of
#replace(K, V), which takes in an instance of Metadata which can be used to
provide metadata information for the entry being stored, such as lifespan, version of value...etc. |
boolean |
AdvancedCache.replace(K key,
V oldValue,
V newValue,
Metadata metadata)
An overloaded form of
#replace(K, V, V), which takes in an instance of Metadata which can be used
to provide metadata information for the entry being stored, such as lifespan, version of value...etc. |
default CompletableFuture<V> |
AdvancedCache.replaceAsync(K key,
V value,
Metadata metadata)
An overloaded form of
#replaceAsync(K, V), which takes in an instance of Metadata which can be used to
provide metadata information for the entry being stored, such as lifespan, version of value...etc. |
default CompletableFuture<Boolean> |
AdvancedCache.replaceAsync(K key,
V oldValue,
V newValue,
Metadata metadata) |
| Modifier and Type | Field and Description |
|---|---|
protected Metadata |
CacheImpl.defaultMetadata |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
SimpleCacheImpl.ValueAndMetadata.getMetadata() |
Metadata |
SimpleCacheImpl.CacheEntryChange.getOldMetadata() |
| Modifier and Type | Method and Description |
|---|---|
V |
AbstractDelegatingAdvancedCache.compute(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
CacheImpl.compute(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
DecoratedCache.compute(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
EncoderCache.compute(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
SimpleCacheImpl.compute(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
AbstractDelegatingAdvancedCache.computeAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
CacheImpl.computeAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
SimpleCacheImpl.computeAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
AbstractDelegatingAdvancedCache.computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata) |
V |
CacheImpl.computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata) |
V |
DecoratedCache.computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata) |
V |
EncoderCache.computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata) |
V |
SimpleCacheImpl.computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata) |
CompletableFuture<V> |
AbstractDelegatingAdvancedCache.computeIfAbsentAsync(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata) |
CompletableFuture<V> |
CacheImpl.computeIfAbsentAsync(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata) |
CompletableFuture<V> |
SimpleCacheImpl.computeIfAbsentAsync(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata) |
V |
AbstractDelegatingAdvancedCache.computeIfPresent(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
CacheImpl.computeIfPresent(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
DecoratedCache.computeIfPresent(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
EncoderCache.computeIfPresent(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
SimpleCacheImpl.computeIfPresent(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
AbstractDelegatingAdvancedCache.computeIfPresentAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
CacheImpl.computeIfPresentAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
SimpleCacheImpl.computeIfPresentAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
protected V |
SimpleCacheImpl.getAndPutInternal(K key,
V value,
Metadata metadata) |
protected V |
StatsCollectingCache.getAndPutInternal(K key,
V value,
Metadata metadata) |
protected V |
SimpleCacheImpl.getAndReplaceInternal(K key,
V value,
Metadata metadata) |
protected V |
StatsCollectingCache.getAndReplaceInternal(K key,
V value,
Metadata metadata) |
V |
AbstractDelegatingAdvancedCache.merge(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
CacheImpl.merge(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
DecoratedCache.merge(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
EncoderCache.merge(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
SimpleCacheImpl.merge(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
AbstractDelegatingAdvancedCache.mergeAsync(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
CacheImpl.mergeAsync(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
SimpleCacheImpl.mergeAsync(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
protected V |
SimpleCacheImpl.mergeInternal(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
SimpleCacheImpl.CacheEntryChange<K,V> ref,
Metadata metadata) |
protected V |
StatsCollectingCache.mergeInternal(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
SimpleCacheImpl.CacheEntryChange<K,V> ref,
Metadata metadata) |
V |
AbstractDelegatingAdvancedCache.put(K key,
V value,
Metadata metadata) |
V |
CacheImpl.put(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.put(K key,
V value,
Metadata metadata) |
V |
EncoderCache.put(K key,
V value,
Metadata metadata) |
V |
SimpleCacheImpl.put(K key,
V value,
Metadata metadata) |
void |
AbstractDelegatingAdvancedCache.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
void |
CacheImpl.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
void |
DecoratedCache.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
void |
EncoderCache.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
void |
SimpleCacheImpl.putAll(Map<? extends K,? extends V> map,
Metadata metadata) |
CompletableFuture<Void> |
AbstractDelegatingAdvancedCache.putAllAsync(Map<? extends K,? extends V> map,
Metadata metadata) |
CompletableFuture<Void> |
CacheImpl.putAllAsync(Map<? extends K,? extends V> data,
Metadata metadata) |
CompletableFuture<Void> |
DecoratedCache.putAllAsync(Map<? extends K,? extends V> data,
Metadata metadata) |
CompletableFuture<Void> |
EncoderCache.putAllAsync(Map<? extends K,? extends V> map,
Metadata metadata) |
CompletableFuture<Void> |
SimpleCacheImpl.putAllAsync(Map<? extends K,? extends V> map,
Metadata metadata) |
protected void |
SimpleCacheImpl.putAllInternal(Map<? extends K,? extends V> map,
Metadata metadata) |
CompletableFuture<V> |
AbstractDelegatingAdvancedCache.putAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
CacheImpl.putAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
DecoratedCache.putAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
EncoderCache.putAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
SimpleCacheImpl.putAsync(K key,
V value,
Metadata metadata) |
void |
AbstractDelegatingAdvancedCache.putForExternalRead(K key,
V value,
Metadata metadata) |
void |
CacheImpl.putForExternalRead(K key,
V value,
Metadata metadata) |
void |
DecoratedCache.putForExternalRead(K key,
V value,
Metadata metadata) |
void |
EncoderCache.putForExternalRead(K key,
V value,
Metadata metadata) |
void |
SimpleCacheImpl.putForExternalRead(K key,
V value,
Metadata metadata) |
protected void |
AbstractDelegatingAdvancedCache.putForExternalRead(K key,
V value,
Metadata metadata,
EnumSet<Flag> flags,
ClassLoader classLoader) |
protected void |
SimpleCacheImpl.putForExternalReadInternal(K key,
V value,
Metadata metadata,
ByRef.Boolean isCreatedRef) |
protected void |
StatsCollectingCache.putForExternalReadInternal(K key,
V value,
Metadata metadata,
ByRef.Boolean isCreatedRef) |
V |
AbstractDelegatingAdvancedCache.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
CacheImpl.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
EncoderCache.putIfAbsent(K key,
V value,
Metadata metadata) |
V |
SimpleCacheImpl.putIfAbsent(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
AbstractDelegatingAdvancedCache.putIfAbsentAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
CacheImpl.putIfAbsentAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
DecoratedCache.putIfAbsentAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
EncoderCache.putIfAbsentAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
SimpleCacheImpl.putIfAbsentAsync(K key,
V value,
Metadata metadata) |
protected V |
SimpleCacheImpl.putIfAbsentInternal(K key,
V value,
Metadata metadata) |
protected V |
StatsCollectingCache.putIfAbsentInternal(K key,
V value,
Metadata metadata) |
V |
AbstractDelegatingAdvancedCache.replace(K key,
V value,
Metadata metadata) |
V |
CacheImpl.replace(K key,
V value,
Metadata metadata) |
V |
DecoratedCache.replace(K key,
V value,
Metadata metadata) |
V |
EncoderCache.replace(K key,
V value,
Metadata metadata) |
V |
SimpleCacheImpl.replace(K key,
V value,
Metadata metadata) |
boolean |
AbstractDelegatingAdvancedCache.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
CacheImpl.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
DecoratedCache.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
EncoderCache.replace(K key,
V oldValue,
V value,
Metadata metadata) |
boolean |
SimpleCacheImpl.replace(K key,
V oldValue,
V value,
Metadata metadata) |
CompletableFuture<V> |
AbstractDelegatingAdvancedCache.replaceAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
CacheImpl.replaceAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
DecoratedCache.replaceAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
EncoderCache.replaceAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
SimpleCacheImpl.replaceAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<Boolean> |
AbstractDelegatingAdvancedCache.replaceAsync(K key,
V oldValue,
V newValue,
Metadata metadata) |
CompletableFuture<Boolean> |
CacheImpl.replaceAsync(K key,
V oldValue,
V newValue,
Metadata metadata) |
CompletableFuture<Boolean> |
DecoratedCache.replaceAsync(K key,
V oldValue,
V newValue,
Metadata metadata) |
CompletableFuture<Boolean> |
EncoderCache.replaceAsync(K key,
V oldValue,
V newValue,
Metadata metadata) |
CompletableFuture<Boolean> |
SimpleCacheImpl.replaceAsync(K key,
V oldValue,
V newValue,
Metadata metadata) |
protected boolean |
SimpleCacheImpl.replaceInternal(K key,
V oldValue,
V value,
Metadata metadata) |
protected boolean |
StatsCollectingCache.replaceInternal(K key,
V oldValue,
V value,
Metadata metadata) |
void |
SimpleCacheImpl.CacheEntryChange.set(K key,
V newValue,
V oldValue,
Metadata oldMetadata) |
void |
SimpleCacheImpl.ValueAndMetadata.set(V value,
Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
MetadataAwareCommand.getMetadata()
Get metadata of this command.
|
| Modifier and Type | Method and Description |
|---|---|
ComputeCommand |
CommandsFactory.buildComputeCommand(Object key,
BiFunction mappingFunction,
boolean computeIfPresent,
int segment,
Metadata metadata,
long flagsBitSet)
Builds a ComputeCommand
|
ComputeCommand |
CommandsFactoryImpl.buildComputeCommand(Object key,
BiFunction mappingFunction,
boolean computeIfPresent,
int segment,
Metadata metadata,
long flagsBitSet) |
ComputeIfAbsentCommand |
CommandsFactory.buildComputeIfAbsentCommand(Object key,
Function mappingFunction,
int segment,
Metadata metadata,
long flagsBitSet)
Builds a ComputeIfAbsentCommand
|
ComputeIfAbsentCommand |
CommandsFactoryImpl.buildComputeIfAbsentCommand(Object key,
Function mappingFunction,
int segment,
Metadata metadata,
long flagsBitSet) |
PutKeyValueCommand |
CommandsFactory.buildPutKeyValueCommand(Object key,
Object value,
int segment,
Metadata metadata,
long flagsBitSet)
Builds a PutKeyValueCommand
|
PutKeyValueCommand |
CommandsFactoryImpl.buildPutKeyValueCommand(Object key,
Object value,
int segment,
Metadata metadata,
long flagsBitSet) |
PutMapCommand |
CommandsFactory.buildPutMapCommand(Map<?,?> map,
Metadata metadata,
long flagsBitSet)
Builds a PutMapCommand
|
PutMapCommand |
CommandsFactoryImpl.buildPutMapCommand(Map<?,?> map,
Metadata metadata,
long flagsBitSet) |
ReplaceCommand |
CommandsFactory.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
int segment,
Metadata metadata,
long flagsBitSet)
Builds a ReplaceCommand
|
ReplaceCommand |
CommandsFactoryImpl.buildReplaceCommand(Object key,
Object oldValue,
Object newValue,
int segment,
Metadata metadata,
long flagsBitSet) |
void |
MetadataAwareCommand.setMetadata(Metadata metadata)
Sets metadata for this command.
|
| Modifier and Type | Method and Description |
|---|---|
Metadata |
ReadWriteKeyValueCommand.getPrevMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
ReadWriteKeyValueCommand.setPrevValueAndMetadata(Object prevValue,
Metadata prevMetadata) |
| Constructor and Description |
|---|
MergeFunction(V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
| Constructor and Description |
|---|
IracPutKeyCommand(ByteString cacheName,
Object key,
Object value,
Metadata metadata,
IracMetadata iracMetadata) |
| Modifier and Type | Field and Description |
|---|---|
protected Metadata |
RemoveCommand.metadata |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
ComputeCommand.getMetadata() |
Metadata |
ComputeIfAbsentCommand.getMetadata() |
Metadata |
PutKeyValueCommand.getMetadata() |
Metadata |
PutMapCommand.getMetadata() |
Metadata |
RemoveCommand.getMetadata() |
Metadata |
ReplaceCommand.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
ComputeCommand.setMetadata(Metadata metadata) |
void |
ComputeIfAbsentCommand.setMetadata(Metadata metadata) |
void |
PutKeyValueCommand.setMetadata(Metadata metadata) |
void |
PutMapCommand.setMetadata(Metadata metadata) |
void |
RemoveCommand.setMetadata(Metadata metadata) |
void |
ReplaceCommand.setMetadata(Metadata metadata) |
| Constructor and Description |
|---|
ComputeCommand(Object key,
BiFunction remappingBiFunction,
boolean computeIfPresent,
int segment,
long flagsBitSet,
CommandInvocationId commandInvocationId,
Metadata metadata) |
ComputeIfAbsentCommand(Object key,
Function mappingFunction,
int segment,
long flagsBitSet,
CommandInvocationId commandInvocationId,
Metadata metadata) |
PutKeyValueCommand(Object key,
Object value,
boolean putIfAbsent,
Metadata metadata,
int segment,
long flagsBitSet,
CommandInvocationId commandInvocationId) |
PutMapCommand(Map<?,?> map,
Metadata metadata,
long flagsBitSet,
CommandInvocationId commandInvocationId) |
ReplaceCommand(Object key,
Object oldValue,
Object newValue,
Metadata metadata,
int segment,
long flagsBitSet,
CommandInvocationId commandInvocationId) |
| Modifier and Type | Method and Description |
|---|---|
static Metadata |
Configurations.newDefaultMetadata(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
DataContainer.put(K k,
V v,
Metadata metadata)
Puts an entry in the cache along with metadata adding information such lifespan of entry, max idle time, version
information...etc.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteMetadata
This is a metadata type used by scattered cache during state transfer.
|
| Modifier and Type | Field and Description |
|---|---|
protected Metadata |
ReadCommittedEntry.metadata |
protected Metadata |
RepeatableReadEntry.oldMetadata |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
ClearCacheEntry.getMetadata() |
Metadata |
ForwardingCacheEntry.getMetadata() |
Metadata |
NullCacheEntry.getMetadata() |
Metadata |
AbstractInternalCacheEntry.getMetadata() |
Metadata |
ImmortalCacheEntry.getMetadata() |
Metadata |
ImmortalCacheValue.getMetadata() |
Metadata |
InternalCacheValue.getMetadata() |
Metadata |
MortalCacheEntry.getMetadata() |
Metadata |
ReadCommittedEntry.getMetadata() |
Metadata |
TransientCacheEntry.getMetadata() |
Metadata |
TransientMortalCacheEntry.getMetadata() |
Metadata |
RepeatableReadEntry.getOldMetadata() |
| Modifier and Type | Method and Description |
|---|---|
long |
CacheEntrySizeCalculator.calculateSize(K key,
V value,
Metadata metadata,
PrivateMetadata pvtMetadata) |
void |
ClearCacheEntry.setMetadata(Metadata metadata) |
void |
ForwardingCacheEntry.setMetadata(Metadata metadata) |
void |
NullCacheEntry.setMetadata(Metadata metadata) |
void |
AbstractInternalCacheEntry.setMetadata(Metadata metadata) |
void |
ImmortalCacheEntry.setMetadata(Metadata metadata) |
void |
MortalCacheEntry.setMetadata(Metadata metadata) |
void |
ReadCommittedEntry.setMetadata(Metadata metadata) |
void |
TransientCacheEntry.setMetadata(Metadata metadata) |
void |
TransientMortalCacheEntry.setMetadata(Metadata metadata) |
| Constructor and Description |
|---|
ReadCommittedEntry(Object key,
Object value,
Metadata metadata) |
RepeatableReadEntry(Object key,
Object value,
Metadata metadata) |
VersionedRepeatableReadEntry(Object key,
Object value,
Metadata metadata) |
| Modifier and Type | Field and Description |
|---|---|
protected Metadata |
MetadataImmortalCacheEntry.metadata |
protected Metadata |
MetadataMortalCacheEntry.metadata |
protected Metadata |
MetadataTransientCacheEntry.metadata |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
MetadataAware.getMetadata()
Get metadata of this cache entry.
|
Metadata |
MetadataImmortalCacheEntry.getMetadata() |
Metadata |
MetadataImmortalCacheValue.getMetadata() |
Metadata |
MetadataMortalCacheEntry.getMetadata() |
Metadata |
MetadataMortalCacheValue.getMetadata() |
Metadata |
MetadataTransientCacheEntry.getMetadata() |
Metadata |
MetadataTransientCacheValue.getMetadata() |
Metadata |
MetadataTransientMortalCacheEntry.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
MetadataAware.setMetadata(Metadata metadata)
Set the metadata in the cache entry.
|
void |
MetadataImmortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataImmortalCacheValue.setMetadata(Metadata metadata) |
void |
MetadataMortalCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataMortalCacheValue.setMetadata(Metadata metadata) |
void |
MetadataTransientCacheEntry.setMetadata(Metadata metadata) |
void |
MetadataTransientCacheValue.setMetadata(Metadata metadata) |
void |
MetadataTransientMortalCacheEntry.setMetadata(Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
default long |
KeyValueMetadataSizeCalculator.calculateSize(K key,
V value,
Metadata metadata)
Method used to calculate how much memory in size the key, value and metadata use.
|
long |
KeyValueMetadataSizeCalculator.calculateSize(K key,
V value,
Metadata metadata,
PrivateMetadata internalMetadata)
Method used to calculate how much memory in size the key, value and metadata use.
|
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.create(K key,
V value,
Metadata metadata)
Creates a new
InternalCacheEntry instance |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.create(K key,
V value,
Metadata metadata,
long lifespan,
long maxIdle)
Creates a new
InternalCacheEntry instance |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.create(K key,
V value,
Metadata metadata,
long created,
long lifespan,
long lastUsed,
long maxIdle)
Creates a new
InternalCacheEntry instance |
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
Metadata metadata) |
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
Metadata metadata,
long lifespan,
long maxIdle) |
InternalCacheEntry |
InternalEntryFactoryImpl.create(Object key,
Object value,
Metadata metadata,
long created,
long lifespan,
long lastUsed,
long maxIdle) |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.createL1(K key,
V value,
Metadata metadata)
Creates a L1 entry.
|
<K,V> InternalCacheEntry |
InternalEntryFactoryImpl.createL1(K key,
V value,
Metadata metadata) |
static boolean |
InternalEntryFactoryImpl.isStoreMetadata(Metadata metadata,
InternalCacheEntry ice)
Indicates whether the entire metadata object needs to be stored or not.
|
void |
AbstractDelegatingInternalDataContainer.put(int segment,
K k,
V v,
Metadata metadata,
PrivateMetadata internalMetadata,
long createdTimestamp,
long lastUseTimestamp) |
void |
AbstractInternalDataContainer.put(int segment,
K k,
V v,
Metadata metadata,
PrivateMetadata internalMetadata,
long createdTimestamp,
long lastUseTimestamp) |
void |
InternalDataContainer.put(int segment,
K k,
V v,
Metadata metadata,
PrivateMetadata internalMetadata,
long createdTimestamp,
long lastUseTimestamp)
Same as
DataContainer.put(Object, Object, Metadata) except that the segment of the key can provided to
write/lookup entries without calculating the segment for the given key. |
void |
AbstractDelegatingInternalDataContainer.put(K k,
V v,
Metadata metadata) |
void |
AbstractInternalDataContainer.put(K k,
V v,
Metadata metadata) |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.update(InternalCacheEntry<K,V> cacheEntry,
Metadata metadata)
TODO: Adjust javadoc
Updates an existing
InternalCacheEntry with new metadata. |
<K,V> InternalCacheEntry<K,V> |
InternalEntryFactory.update(InternalCacheEntry<K,V> cacheEntry,
V value,
Metadata metadata)
Similar to
InternalEntryFactory.update(org.infinispan.container.entries.InternalCacheEntry, org.infinispan.metadata.Metadata)
but it also updates the InternalCacheEntry value. |
InternalCacheEntry |
InternalEntryFactoryImpl.update(InternalCacheEntry ice,
Metadata metadata) |
InternalCacheEntry |
InternalEntryFactoryImpl.update(InternalCacheEntry cacheEntry,
Object value,
Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
default long |
OffHeapEntryFactory.calculateSize(WrappedBytes key,
WrappedBytes value,
Metadata metadata)
Method used to calculate how much memory in size the key, value and metadata use.
|
long |
OffHeapEntryFactory.calculateSize(WrappedBytes key,
WrappedBytes value,
Metadata metadata,
PrivateMetadata internalMetadata)
Method used to calculate how much memory in size the key, value, metadata and internal metadata use.
|
long |
OffHeapEntryFactoryImpl.calculateSize(WrappedBytes key,
WrappedBytes value,
Metadata metadata,
PrivateMetadata internalMetadata) |
void |
BoundedOffHeapDataContainer.put(int segment,
WrappedBytes key,
WrappedBytes value,
Metadata metadata,
PrivateMetadata internalMetadata,
long createdTimestamp,
long lastUseTimestamp) |
void |
SegmentedBoundedOffHeapDataContainer.put(int segment,
WrappedBytes key,
WrappedBytes value,
Metadata metadata,
PrivateMetadata internalMetadata,
long createdTimestamp,
long lastUseTimestamp) |
void |
BoundedOffHeapDataContainer.put(WrappedBytes key,
WrappedBytes value,
Metadata metadata) |
void |
SegmentedBoundedOffHeapDataContainer.put(WrappedBytes key,
WrappedBytes value,
Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
InternalExpirationManager.ExpirationConsumer.expired(T key,
U value,
Metadata metadata,
PrivateMetadata privateMetadata)
Invoked when an entry is expired.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractKeyValueFilterConverter.accept(K key,
V value,
Metadata metadata) |
boolean |
CompositeKeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
KeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
AcceptAllKeyValueFilter.accept(Object key,
Object value,
Metadata metadata) |
C |
AbstractKeyValueFilterConverter.convert(K key,
V value,
Metadata metadata) |
C |
Converter.convert(K key,
V value,
Metadata metadata) |
C |
KeyValueFilterConverter.filterAndConvert(K key,
V value,
Metadata metadata)
Will both filter the entry and if passed subsequently convert the value to a new value.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
EntryView.WriteEntryView.set(V value,
Metadata metadata)
Set this value along with metadata object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MetaParamsInternalMetadata
Metadata parameters backed internal metadata representation.
|
| Modifier and Type | Method and Description |
|---|---|
static Metadata |
MetaParamsInternalMetadata.from(MetaParams params) |
| Modifier and Type | Method and Description |
|---|---|
MetaParamsInternalMetadata.Builder |
MetaParamsInternalMetadata.Builder.merge(Metadata metadata) |
void |
FunctionalNotifier.notifyOnModify(CacheEntry<K,V> entry,
V previousValue,
Metadata previousMetadata)
Notify registered
ReadWriteListener instances of the modified
entry passing the previous and new value. |
void |
FunctionalNotifierImpl.notifyOnModify(CacheEntry<K,V> entry,
V previousValue,
Metadata previousMetadata) |
static <K,V> EntryView.ReadEntryView<K,V> |
EntryViews.readOnly(K key,
V value,
Metadata metadata) |
static <K,V> EntryViews.AccessLoggingReadWriteView<K,V> |
EntryViews.readWrite(MVCCEntry entry,
Object prevValue,
Metadata prevMetadata,
DataConversion keyDataConversion,
DataConversion valueDataConversion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ScopeFilter.accept(ScopedState key,
Object oldValue,
Metadata oldMetadata,
Object newValue,
Metadata newMetadata,
EventType eventType) |
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionalExceptionEvictionInterceptor.expired(Object key,
Object value,
Metadata metadata,
PrivateMetadata privateMetadata) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
MarshallableEntryImpl.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
MarshallableEntry |
MarshalledEntryFactoryImpl.create(Object key,
Object value,
Metadata metadata,
PrivateMetadata internalMetadata,
long created,
long lastUsed) |
static long |
MarshallableEntryImpl.expiryTime(Metadata metadata,
long created,
long lastUsed) |
static boolean |
MarshallableEntryImpl.isExpired(Metadata metadata,
long now,
long created,
long lastUsed) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InternalMetadata
Deprecated.
since 10.0
|
| Modifier and Type | Class and Description |
|---|---|
class |
EmbeddedMetadata
Metadata class for embedded caches.
|
static class |
EmbeddedMetadata.EmbeddedExpirableMetadata |
static class |
EmbeddedMetadata.EmbeddedLifespanExpirableMetadata |
static class |
EmbeddedMetadata.EmbeddedMaxIdleExpirableMetadata |
| Modifier and Type | Method and Description |
|---|---|
static Metadata |
Metadatas.applyVersion(Metadata source,
Metadata target)
Applies version in source metadata to target metadata, if no version
in target metadata.
|
Metadata |
EmbeddedMetadata.Builder.build() |
Metadata |
Metadata.Builder.build()
Build a metadata instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Metadata |
Metadatas.applyVersion(Metadata source,
Metadata target)
Applies version in source metadata to target metadata, if no version
in target metadata.
|
Metadata.Builder |
EmbeddedMetadata.Builder.merge(Metadata metadata) |
Metadata.Builder |
Metadata.Builder.merge(Metadata metadata)
Merges the given metadata information into the given builder.
|
static void |
Metadatas.updateMetadata(CacheEntry entry,
Metadata providedMetadata)
Set the
providedMetadata on the cache entry. |
| Modifier and Type | Class and Description |
|---|---|
class |
InternalMetadataImpl
Deprecated.
|
class |
L1Metadata
Metadata implementation that must be passed to the DataContainer.put(Object, Object, org.infinispan.metadata.Metadata) when the entry to store
is a L1 entry. |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
InternalMetadataImpl.actual()
Deprecated.
|
static Metadata |
InternalMetadataImpl.extractMetadata(Metadata metadata)
Deprecated.
|
Metadata |
L1Metadata.metadata() |
| Modifier and Type | Method and Description |
|---|---|
static Metadata |
InternalMetadataImpl.extractMetadata(Metadata metadata)
Deprecated.
|
| Constructor and Description |
|---|
InternalMetadataImpl(Metadata actual,
long created,
long lastUsed)
Deprecated.
|
L1Metadata(Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
static CompletionStage<Void> |
NotifyHelper.entryCommitted(CacheNotifier notifier,
FunctionalNotifier functionalNotifier,
boolean created,
boolean removed,
boolean expired,
CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command,
Object previousValue,
Metadata previousMetadata,
EvictionManager evictionManager) |
CompletionStage<Void> |
CacheNotifier.notifyCacheEntryCreated(K key,
V value,
Metadata metadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command)
Notifies all registered listeners of a
CacheEntryCreatedEvent
event. |
CompletionStage<Void> |
CacheNotifierImpl.notifyCacheEntryCreated(K key,
V value,
Metadata metadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command) |
CompletionStage<Void> |
CacheNotifier.notifyCacheEntryExpired(K key,
V value,
Metadata metadata,
InvocationContext ctx)
Notifies all registered listeners of a CacheEntryExpired event.
|
CompletionStage<Void> |
CacheNotifierImpl.notifyCacheEntryExpired(K key,
V value,
Metadata metadata,
InvocationContext ctx) |
CompletionStage<Void> |
CacheNotifier.notifyCacheEntryInvalidated(K key,
V value,
Metadata metadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command)
Notifies all registered listeners of a
CacheEntryInvalidatedEvent
event. |
CompletionStage<Void> |
CacheNotifierImpl.notifyCacheEntryInvalidated(K key,
V value,
Metadata metadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command) |
CompletionStage<Void> |
CacheNotifier.notifyCacheEntryModified(K key,
V value,
Metadata metadata,
V previousValue,
Metadata previousMetadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command)
Notifies all registered listeners of a
CacheEntryModifiedEvent
event. |
CompletionStage<Void> |
CacheNotifierImpl.notifyCacheEntryModified(K key,
V value,
Metadata metadata,
V previousValue,
Metadata previousMetadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command) |
CompletionStage<Void> |
CacheNotifier.notifyCacheEntryRemoved(K key,
V previousValue,
Metadata previousMetadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command)
Notifies all registered listeners of a
CacheEntryRemovedEvent
event. |
CompletionStage<Void> |
CacheNotifierImpl.notifyCacheEntryRemoved(K key,
V previousValue,
Metadata previousMetadata,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand command) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
ClusterEvent.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
CacheEntryEvent.getMetadata()
Retrieves the metadata associated with the entry.
|
| Modifier and Type | Method and Description |
|---|---|
Metadata |
EventImpl.getMetadata() |
Metadata |
EventImpl.getOldMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
EventImpl.setMetadata(Metadata metadata) |
void |
EventImpl.setOldMetadata(Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CacheEventFilterAsKeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
AbstractCacheEventFilterConverter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
boolean |
PostCacheEventFilter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
boolean |
CacheEventFilter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType)
Whether or not this event should be raised to the listener it is attached to.
|
boolean |
CompositeCacheEventFilter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
boolean |
KeyValueFilterAsCacheEventFilter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
boolean |
KeyValueFilterConverterAsCacheEventFilterConverter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
C |
CacheEventConverterAsConverter.convert(K key,
V value,
Metadata metadata) |
C |
AbstractCacheEventFilterConverter.convert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
C |
CacheEventConverter.convert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType)
Converts the given newValue into something different possibly.
|
C |
KeyValueFilterConverterAsCacheEventFilterConverter.convert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
C |
CacheEventFilterConverterAsKeyValueFilterConverter.filterAndConvert(K key,
V value,
Metadata metadata) |
C |
CacheEventFilterConverter.filterAndConvert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType)
Will both filter the entry and if passed subsequently convert the value to a new value.
|
C |
KeyValueFilterConverterAsCacheEventFilterConverter.filterAndConvert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
MarshallableEntry.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
MarshallableEntry<K,V> |
MarshallableEntryFactory.create(Object key,
Object value,
Metadata metadata,
PrivateMetadata internalMetadata,
long created,
long lastUsed)
Creates a
MarshallableEntry using non-marshalled POJOs as arguments |
| Modifier and Type | Method and Description |
|---|---|
V |
SecureCacheImpl.compute(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
SecureCacheImpl.computeAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
SecureCacheImpl.computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata) |
CompletableFuture<V> |
SecureCacheImpl.computeIfAbsentAsync(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata) |
V |
SecureCacheImpl.computeIfPresent(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
SecureCacheImpl.computeIfPresentAsync(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
SecureCacheImpl.merge(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
CompletableFuture<V> |
SecureCacheImpl.mergeAsync(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata) |
V |
SecureCacheImpl.put(K key,
V value,
Metadata metadata) |
void |
SecureCacheImpl.putAll(Map<? extends K,? extends V> m,
Metadata metadata) |
CompletableFuture<Void> |
SecureCacheImpl.putAllAsync(Map<? extends K,? extends V> map,
Metadata metadata) |
CompletableFuture<V> |
SecureCacheImpl.putAsync(K key,
V value,
Metadata metadata) |
void |
SecureCacheImpl.putForExternalRead(K key,
V value,
Metadata metadata) |
V |
SecureCacheImpl.putIfAbsent(K key,
V value,
Metadata metadata) |
CompletableFuture<V> |
SecureCacheImpl.putIfAbsentAsync(K key,
V value,
Metadata metadata) |
V |
SecureCacheImpl.replace(K key,
V value,
Metadata metadata) |
boolean |
SecureCacheImpl.replace(K key,
V oldValue,
V newValue,
Metadata metadata) |
CompletableFuture<V> |
SecureCacheImpl.replaceAsync(K key,
V value,
Metadata metadata) |
CompletableFuture<Boolean> |
SecureCacheImpl.replaceAsync(K key,
V oldValue,
V newValue,
Metadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
BackupReceiver.putKeyValue(Object key,
Object value,
Metadata metadata,
IracMetadata iracMetadata)
Updates the key with the value from a remote site.
|
CompletionStage<Void> |
ClusteredCacheBackupReceiver.putKeyValue(Object key,
Object value,
Metadata metadata,
IracMetadata iracMetadata) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
XSiteState.metadata() |
Copyright © 2022 JBoss by Red Hat. All rights reserved.