Uses of Interface
org.infinispan.metadata.Metadata
Packages that use Metadata
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
Commands that operate on the cache, either locally or remotely.
Cache
configurationPackage that contains the interface describing the underlyling API for storage in Infinispan
Entries which are stored in data containers.
Data containers which store cache entries.
Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
Functional API package
Global configuration state.
Metadata interfaces
Cache
-specific notifications and eventing.Cache
-specific listener eventsCache
-specific notifications and eventing filtering classes.The Persistence SPI.
Cross-Site Replication conflict resolution.
-
Uses of Metadata in org.infinispan
Methods in org.infinispan with parameters of type MetadataModifier and TypeMethodDescriptionAdvancedCache.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 ofMetadata
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) 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) AdvancedCache.computeIfAbsent
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) An overloaded form of#computeIfAbsent(K, Function)
, which takes in an instance ofMetadata
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) AdvancedCache.computeIfAbsentAsync
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) Overloaded#computeIfAbsentAsync(K, Function)
, which takes in an instance ofMetadata
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) 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 ofMetadata
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) AdvancedCache.computeIfPresentAsync
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) Overloaded#computeIfPresentAsync(K, BiFunction)
, which takes in an instance ofMetadata
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) AdvancedCache.merge
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) An overloaded form ofCache.merge(Object, Object, BiFunction)
, which takes in an instance ofMetadata
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) AdvancedCache.mergeAsync
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) OverloadedAsyncCache.mergeAsync(Object, Object, BiFunction)
, which takes in an instance ofMetadata
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) An overloaded form of#put(K, V)
, which takes in an instance ofMetadata
which can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.void
An overloaded form ofMap.putAll(Map)
, which takes in an instance ofMetadata
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) Asynchronous version ofAdvancedCache.put(Object, Object, Metadata)
which stores metadata alongside the value.AdvancedCache.putAsyncEntry
(K key, V value, Metadata metadata) Extension ofAdvancedCache.putAsync(K, V, Metadata)
which returns aCacheEntry
instead of only the previous value.default CompletionStage<CacheEntry<K,
V>> AdvancedCache.putAsyncReturnEntry
(K key, V value, Metadata metadata) void
AdvancedCache.putForExternalRead
(K key, V value, Metadata metadata) An overloaded form of#putForExternalRead(K, V)
, which takes in an instance ofMetadata
which can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.AdvancedCache.putIfAbsent
(K key, V value, Metadata metadata) An overloaded form of#putIfAbsent(K, V)
, which takes in an instance ofMetadata
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 ofMetadata
which can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.AdvancedCache.putIfAbsentAsyncEntry
(K key, V value, Metadata metadata) An extension form ofAdvancedCache.putIfAbsentAsync(K, V, Metadata)
, which returns aCacheEntry
instead of only the value.default CompletionStage<CacheEntry<K,
V>> AdvancedCache.putIfAbsentAsyncReturnEntry
(K key, V value, Metadata metadata) An overloaded form of#replace(K, V)
, which takes in an instance ofMetadata
which can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.boolean
An overloaded form of#replace(K, V, V)
, which takes in an instance ofMetadata
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 ofMetadata
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) AdvancedCache.replaceAsyncEntry
(K key, V value, Metadata metadata) An extension ofAdvancedCache.replaceAsync(K, V, Metadata)
, which returns aCacheEntry
instead of only the value.default CompletionStage<CacheEntry<K,
V>> AdvancedCache.replaceAsyncReturnEntry
(K key, V value, Metadata metadata) -
Uses of Metadata in org.infinispan.cache.impl
Fields in org.infinispan.cache.impl declared as MetadataMethods in org.infinispan.cache.impl that return MetadataModifier and TypeMethodDescriptionSimpleCacheImpl.ValueAndMetadata.getMetadata()
SimpleCacheImpl.CacheEntryChange.getOldMetadata()
Methods in org.infinispan.cache.impl with parameters of type MetadataModifier and TypeMethodDescriptionAbstractDelegatingAdvancedCache.compute
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) CacheImpl.compute
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) DecoratedCache.compute
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.compute
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.compute
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) SimpleCacheImpl.compute
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) AbstractDelegatingAdvancedCache.computeAsync
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) CacheImpl.computeAsync
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.computeAsync
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.computeAsync
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) SimpleCacheImpl.computeAsync
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) AbstractDelegatingAdvancedCache.computeIfAbsent
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) CacheImpl.computeIfAbsent
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) DecoratedCache.computeIfAbsent
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) EncoderCache.computeIfAbsent
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) EncoderCache.computeIfAbsent
(K key, SerializableFunction<? super K, ? extends V> mappingFunction, Metadata metadata) SimpleCacheImpl.computeIfAbsent
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) AbstractDelegatingAdvancedCache.computeIfAbsentAsync
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) CacheImpl.computeIfAbsentAsync
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) EncoderCache.computeIfAbsentAsync
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) EncoderCache.computeIfAbsentAsync
(K key, SerializableFunction<? super K, ? extends V> mappingFunction, Metadata metadata) SimpleCacheImpl.computeIfAbsentAsync
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) AbstractDelegatingAdvancedCache.computeIfPresent
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) CacheImpl.computeIfPresent
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) DecoratedCache.computeIfPresent
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.computeIfPresent
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.computeIfPresent
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) SimpleCacheImpl.computeIfPresent
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) AbstractDelegatingAdvancedCache.computeIfPresentAsync
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) CacheImpl.computeIfPresentAsync
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.computeIfPresentAsync
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.computeIfPresentAsync
(K key, SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) 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) AbstractDelegatingAdvancedCache.merge
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) CacheImpl.merge
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) DecoratedCache.merge
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.merge
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.merge
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) SimpleCacheImpl.merge
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) AbstractDelegatingAdvancedCache.mergeAsync
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) CacheImpl.mergeAsync
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.mergeAsync
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) EncoderCache.mergeAsync
(K key, V value, SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) 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) void
void
void
void
void
AbstractDelegatingAdvancedCache.putAllAsync
(Map<? extends K, ? extends V> map, Metadata metadata) final CompletableFuture<Void>
CacheImpl.putAllAsync
(Map<? extends K, ? extends V> data, Metadata metadata) DecoratedCache.putAllAsync
(Map<? extends K, ? extends V> data, Metadata metadata) EncoderCache.putAllAsync
(Map<? extends K, ? extends V> map, Metadata metadata) SimpleCacheImpl.putAllAsync
(Map<? extends K, ? extends V> map, Metadata metadata) protected void
SimpleCacheImpl.putAllInternal
(Map<? extends K, ? extends V> map, Metadata metadata) AbstractDelegatingAdvancedCache.putAsyncEntry
(K key, V value, Metadata metadata) CacheImpl.putAsyncEntry
(K key, V value, Metadata metadata) DecoratedCache.putAsyncEntry
(K key, V value, Metadata metadata) EncoderCache.putAsyncEntry
(K key, V value, Metadata metadata) SimpleCacheImpl.putAsyncEntry
(K key, V value, Metadata metadata) EncoderCache.putAsyncReturnEntry
(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
SimpleCacheImpl.putForExternalReadInternal
(K key, V value, Metadata metadata, ByRef.Boolean isCreatedRef) protected void
StatsCollectingCache.putForExternalReadInternal
(K key, V value, Metadata metadata, ByRef.Boolean isCreatedRef) AbstractDelegatingAdvancedCache.putIfAbsent
(K key, V value, Metadata metadata) CacheImpl.putIfAbsent
(K key, V value, Metadata metadata) DecoratedCache.putIfAbsent
(K key, V value, Metadata metadata) EncoderCache.putIfAbsent
(K key, V value, Metadata metadata) SimpleCacheImpl.putIfAbsent
(K key, V value, Metadata metadata) AbstractDelegatingAdvancedCache.putIfAbsentAsync
(K key, V value, Metadata metadata) final CompletableFuture<V>
CacheImpl.putIfAbsentAsync
(K key, V value, Metadata metadata) DecoratedCache.putIfAbsentAsync
(K key, V value, Metadata metadata) EncoderCache.putIfAbsentAsync
(K key, V value, Metadata metadata) SimpleCacheImpl.putIfAbsentAsync
(K key, V value, Metadata metadata) AbstractDelegatingAdvancedCache.putIfAbsentAsyncEntry
(K key, V value, Metadata metadata) CacheImpl.putIfAbsentAsyncEntry
(K key, V value, Metadata metadata) DecoratedCache.putIfAbsentAsyncEntry
(K key, V value, Metadata metadata) EncoderCache.putIfAbsentAsyncEntry
(K key, V value, Metadata metadata) SimpleCacheImpl.putIfAbsentAsyncEntry
(K key, V value, Metadata metadata) EncoderCache.putIfAbsentAsyncReturnEntry
(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) boolean
boolean
boolean
boolean
boolean
AbstractDelegatingAdvancedCache.replaceAsync
(K key, V value, Metadata metadata) AbstractDelegatingAdvancedCache.replaceAsync
(K key, V oldValue, V newValue, Metadata metadata) final CompletableFuture<V>
CacheImpl.replaceAsync
(K key, V value, Metadata metadata) final CompletableFuture<Boolean>
CacheImpl.replaceAsync
(K key, V oldValue, V newValue, Metadata metadata) DecoratedCache.replaceAsync
(K key, V value, Metadata metadata) DecoratedCache.replaceAsync
(K key, V oldValue, V newValue, Metadata metadata) EncoderCache.replaceAsync
(K key, V value, Metadata metadata) EncoderCache.replaceAsync
(K key, V oldValue, V newValue, Metadata metadata) SimpleCacheImpl.replaceAsync
(K key, V value, Metadata metadata) SimpleCacheImpl.replaceAsync
(K key, V oldValue, V newValue, Metadata metadata) AbstractDelegatingAdvancedCache.replaceAsyncEntry
(K key, V value, Metadata metadata) CacheImpl.replaceAsyncEntry
(K key, V value, Metadata metadata) DecoratedCache.replaceAsyncEntry
(K key, V value, Metadata metadata) EncoderCache.replaceAsyncEntry
(K key, V value, Metadata metadata) SimpleCacheImpl.replaceAsyncEntry
(K key, V value, Metadata metadata) EncoderCache.replaceAsyncReturnEntry
(K key, V value, 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
void
-
Uses of Metadata in org.infinispan.commands
Methods in org.infinispan.commands that return MetadataModifier and TypeMethodDescriptionMetadataAwareCommand.getMetadata()
Get metadata of this command.Methods in org.infinispan.commands with parameters of type MetadataModifier and TypeMethodDescriptionorg.infinispan.commands.write.ComputeCommand
CommandsFactory.buildComputeCommand
(Object key, BiFunction mappingFunction, boolean computeIfPresent, int segment, Metadata metadata, long flagsBitSet) Builds a ComputeCommandorg.infinispan.commands.write.ComputeCommand
CommandsFactoryImpl.buildComputeCommand
(Object key, BiFunction mappingFunction, boolean computeIfPresent, int segment, Metadata metadata, long flagsBitSet) org.infinispan.commands.write.ComputeIfAbsentCommand
CommandsFactory.buildComputeIfAbsentCommand
(Object key, Function mappingFunction, int segment, Metadata metadata, long flagsBitSet) Builds a ComputeIfAbsentCommandorg.infinispan.commands.write.ComputeIfAbsentCommand
CommandsFactoryImpl.buildComputeIfAbsentCommand
(Object key, Function mappingFunction, int segment, Metadata metadata, long flagsBitSet) org.infinispan.commands.write.IracPutKeyValueCommand
CommandsFactory.buildIracPutKeyValueCommand
(Object key, int segment, Object value, Metadata metadata, PrivateMetadata privateMetadata) org.infinispan.commands.write.IracPutKeyValueCommand
CommandsFactoryImpl.buildIracPutKeyValueCommand
(Object key, int segment, Object value, Metadata metadata, PrivateMetadata privateMetadata) default org.infinispan.commands.write.PutKeyValueCommand
CommandsFactory.buildPutKeyValueCommand
(Object key, Object value, int segment, Metadata metadata, long flagsBitSet) Builds a PutKeyValueCommandorg.infinispan.commands.write.PutKeyValueCommand
CommandsFactory.buildPutKeyValueCommand
(Object key, Object value, int segment, Metadata metadata, long flagsBitSet, boolean returnEntry) org.infinispan.commands.write.PutKeyValueCommand
CommandsFactoryImpl.buildPutKeyValueCommand
(Object key, Object value, int segment, Metadata metadata, long flagsBitSet, boolean returnEntry) org.infinispan.commands.write.PutMapCommand
CommandsFactory.buildPutMapCommand
(Map<?, ?> map, Metadata metadata, long flagsBitSet) Builds a PutMapCommandorg.infinispan.commands.write.PutMapCommand
CommandsFactoryImpl.buildPutMapCommand
(Map<?, ?> map, Metadata metadata, long flagsBitSet) default org.infinispan.commands.write.ReplaceCommand
CommandsFactory.buildReplaceCommand
(Object key, Object oldValue, Object newValue, int segment, Metadata metadata, long flagsBitSet) Builds a ReplaceCommandorg.infinispan.commands.write.ReplaceCommand
CommandsFactory.buildReplaceCommand
(Object key, Object oldValue, Object newValue, int segment, Metadata metadata, long flagsBitSet, boolean returnEntry) Builds a ReplaceCommandorg.infinispan.commands.write.ReplaceCommand
CommandsFactoryImpl.buildReplaceCommand
(Object key, Object oldValue, Object newValue, int segment, Metadata metadata, long flagsBitSet, boolean returnEntry) void
MetadataAwareCommand.setMetadata
(Metadata metadata) Sets metadata for this command. -
Uses of Metadata in org.infinispan.configuration.cache
Methods in org.infinispan.configuration.cache that return MetadataModifier and TypeMethodDescriptionstatic Metadata
Configurations.newDefaultMetadata
(Configuration configuration) -
Uses of Metadata in org.infinispan.container
Methods in org.infinispan.container with parameters of type Metadata -
Uses of Metadata in org.infinispan.container.entries
Classes in org.infinispan.container.entries that implement MetadataModifier and TypeClassDescriptionclass
This is a metadata type used by scattered cache during state transfer.Fields in org.infinispan.container.entries declared as MetadataModifier and TypeFieldDescriptionprotected Metadata
ReadCommittedEntry.metadata
protected Metadata
ReadCommittedEntry.oldMetadata
Methods in org.infinispan.container.entries that return MetadataModifier and TypeMethodDescriptionAbstractInternalCacheEntry.getMetadata()
ClearCacheEntry.getMetadata()
ForwardingCacheEntry.getMetadata()
ImmortalCacheEntry.getMetadata()
ImmortalCacheValue.getMetadata()
InternalCacheValue.getMetadata()
MortalCacheEntry.getMetadata()
NullCacheEntry.getMetadata()
ReadCommittedEntry.getMetadata()
TransientCacheEntry.getMetadata()
TransientMortalCacheEntry.getMetadata()
MVCCEntry.getOldMetadata()
final Metadata
ReadCommittedEntry.getOldMetadata()
Methods in org.infinispan.container.entries with parameters of type MetadataModifier and TypeMethodDescriptionlong
CacheEntrySizeCalculator.calculateSize
(K key, V value, Metadata metadata, PrivateMetadata pvtMetadata) void
AbstractInternalCacheEntry.setMetadata
(Metadata metadata) void
ClearCacheEntry.setMetadata
(Metadata metadata) void
ForwardingCacheEntry.setMetadata
(Metadata metadata) void
ImmortalCacheEntry.setMetadata
(Metadata metadata) void
MortalCacheEntry.setMetadata
(Metadata metadata) void
NullCacheEntry.setMetadata
(Metadata metadata) void
ReadCommittedEntry.setMetadata
(Metadata metadata) void
TransientCacheEntry.setMetadata
(Metadata metadata) void
TransientMortalCacheEntry.setMetadata
(Metadata metadata) Constructors in org.infinispan.container.entries with parameters of type MetadataModifierConstructorDescriptionReadCommittedEntry
(K key, V value, Metadata metadata) RepeatableReadEntry
(K key, V value, Metadata metadata) VersionedRepeatableReadEntry
(K key, V value, Metadata metadata) -
Uses of Metadata in org.infinispan.container.entries.metadata
Fields in org.infinispan.container.entries.metadata declared as MetadataModifier and TypeFieldDescriptionprotected Metadata
MetadataImmortalCacheEntry.metadata
protected Metadata
MetadataMortalCacheEntry.metadata
protected Metadata
MetadataTransientCacheEntry.metadata
Methods in org.infinispan.container.entries.metadata that return MetadataModifier and TypeMethodDescriptionMetadataAware.getMetadata()
Get metadata of this cache entry.MetadataImmortalCacheEntry.getMetadata()
MetadataImmortalCacheValue.getMetadata()
MetadataMortalCacheEntry.getMetadata()
MetadataMortalCacheValue.getMetadata()
MetadataTransientCacheEntry.getMetadata()
MetadataTransientCacheValue.getMetadata()
MetadataTransientMortalCacheEntry.getMetadata()
Methods in org.infinispan.container.entries.metadata with parameters of type MetadataModifier and TypeMethodDescriptionvoid
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) Constructors in org.infinispan.container.entries.metadata with parameters of type MetadataModifierConstructorDescriptionL1MetadataInternalCacheEntry
(Object key, Object value, Metadata metadata, long created) protected
MetadataImmortalCacheEntry
(Object key, Object value, PrivateMetadata internalMetadata, Metadata metadata) MetadataImmortalCacheEntry
(Object key, Object value, Metadata metadata) protected
MetadataImmortalCacheValue
(Object value, PrivateMetadata internalMetadata, Metadata metadata) MetadataImmortalCacheValue
(Object value, Metadata metadata) protected
MetadataMortalCacheEntry
(Object key, Object value, PrivateMetadata internalMetadata, Metadata metadata, long created) MetadataMortalCacheEntry
(Object key, Object value, Metadata metadata, long created) protected
MetadataMortalCacheValue
(Object value, PrivateMetadata internalMetadata, Metadata metadata, long created) MetadataMortalCacheValue
(Object value, Metadata metadata, long created) protected
MetadataTransientCacheEntry
(Object key, Object value, PrivateMetadata internalMetadata, Metadata metadata, long lastUsed) MetadataTransientCacheEntry
(Object key, Object value, Metadata metadata, long lastUsed) protected
MetadataTransientCacheValue
(Object value, PrivateMetadata internalMetadata, Metadata metadata, long lastUsed) MetadataTransientCacheValue
(Object value, Metadata metadata, long lastUsed) protected
MetadataTransientMortalCacheEntry
(Object key, Object value, PrivateMetadata internalMetadata, Metadata metadata, long lastUsed, long created) MetadataTransientMortalCacheEntry
(Object key, Object value, Metadata metadata, long now) MetadataTransientMortalCacheEntry
(Object key, Object value, Metadata metadata, long lastUsed, long created) protected
MetadataTransientMortalCacheValue
(Object value, PrivateMetadata internalMetadata, Metadata metadata, long created, long lastUsed) MetadataTransientMortalCacheValue
(Object value, Metadata metadata, long created, long lastUsed) -
Uses of Metadata in org.infinispan.container.impl
Methods in org.infinispan.container.impl with parameters of type MetadataModifier and TypeMethodDescriptiondefault 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> Creates a newInternalCacheEntry
instance<K,
V> InternalCacheEntry<K, V> Creates a newInternalCacheEntry
instance<K,
V> InternalCacheEntry<K, V> InternalEntryFactory.create
(K key, V value, Metadata metadata, long created, long lifespan, long lastUsed, long maxIdle) Creates a newInternalCacheEntry
instanceInternalEntryFactoryImpl.create
(Object key, Object value, Metadata metadata, long lifespan, long maxIdle) InternalEntryFactoryImpl.create
(Object key, Object value, Metadata metadata, long created, long lifespan, long lastUsed, long maxIdle) <K,
V> InternalCacheEntry<K, V> Creates a L1 entry.<K,
V> InternalCacheEntry 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
void
AbstractInternalDataContainer.put
(int segment, K k, V v, Metadata metadata, PrivateMetadata internalMetadata, long createdTimestamp, long lastUseTimestamp) void
void
InternalDataContainer.put
(int segment, K k, V v, Metadata metadata, PrivateMetadata internalMetadata, long createdTimestamp, long lastUseTimestamp) Same asDataContainer.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.<K,
V> InternalCacheEntry<K, V> InternalEntryFactory.update
(InternalCacheEntry<K, V> cacheEntry, Metadata metadata) TODO: Adjust javadoc Updates an existingInternalCacheEntry
with new metadata.<K,
V> InternalCacheEntry<K, V> InternalEntryFactory.update
(InternalCacheEntry<K, V> cacheEntry, V value, Metadata metadata) Similar toInternalEntryFactory.update(org.infinispan.container.entries.InternalCacheEntry, org.infinispan.metadata.Metadata)
but it also updates theInternalCacheEntry
value.InternalEntryFactoryImpl.update
(InternalCacheEntry cacheEntry, Object value, Metadata metadata) InternalEntryFactoryImpl.update
(InternalCacheEntry ice, Metadata metadata) -
Uses of Metadata in org.infinispan.container.offheap
Methods in org.infinispan.container.offheap with parameters of type MetadataModifier and TypeMethodDescriptiondefault 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
BoundedOffHeapDataContainer.put
(WrappedBytes key, WrappedBytes value, Metadata metadata) void
SegmentedBoundedOffHeapDataContainer.put
(int segment, WrappedBytes key, WrappedBytes value, Metadata metadata, PrivateMetadata internalMetadata, long createdTimestamp, long lastUseTimestamp) void
SegmentedBoundedOffHeapDataContainer.put
(WrappedBytes key, WrappedBytes value, Metadata metadata) -
Uses of Metadata in org.infinispan.expiration.impl
Methods in org.infinispan.expiration.impl with parameters of type MetadataModifier and TypeMethodDescriptionvoid
InternalExpirationManager.ExpirationConsumer.expired
(T key, U value, Metadata metadata, PrivateMetadata privateMetadata) Invoked when an entry is expired. -
Uses of Metadata in org.infinispan.filter
Methods in org.infinispan.filter with parameters of type MetadataModifier and TypeMethodDescriptionfinal boolean
boolean
boolean
boolean
final 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. -
Uses of Metadata in org.infinispan.functional
Methods in org.infinispan.functional with parameters of type Metadata -
Uses of Metadata in org.infinispan.functional.impl
Classes in org.infinispan.functional.impl that implement MetadataModifier and TypeClassDescriptionfinal class
Metadata parameters backed internal metadata representation.Methods in org.infinispan.functional.impl that return MetadataModifier and TypeMethodDescriptionstatic Metadata
MetaParamsInternalMetadata.from
(MetaParams params) Methods in org.infinispan.functional.impl with parameters of type MetadataModifier and TypeMethodDescriptionvoid
FunctionalNotifier.notifyOnModify
(CacheEntry<K, V> entry, V previousValue, Metadata previousMetadata) Notify registeredListeners.ReadWriteListeners.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> static <K,
V> EntryViews.AccessLoggingReadWriteView<K, V> EntryViews.readWrite
(MVCCEntry entry, Object prevValue, Metadata prevMetadata, DataConversion keyDataConversion, DataConversion valueDataConversion) -
Uses of Metadata in org.infinispan.globalstate
Methods in org.infinispan.globalstate with parameters of type Metadata -
Uses of Metadata in org.infinispan.metadata
Subinterfaces of Metadata in org.infinispan.metadataModifier and TypeInterfaceDescriptioninterface
Deprecated, for removal: This API element is subject to removal in a future version.since 10.0Classes in org.infinispan.metadata that implement MetadataModifier and TypeClassDescriptionclass
Metadata class for embedded caches.static class
static class
static class
Methods in org.infinispan.metadata that return MetadataModifier and TypeMethodDescriptionstatic Metadata
Metadatas.applyVersion
(Metadata source, Metadata target) Applies version in source metadata to target metadata, if no version in target metadata.EmbeddedMetadata.Builder.build()
Metadata.Builder.build()
Build a metadata instance.Methods in org.infinispan.metadata with parameters of type MetadataModifier and TypeMethodDescriptionstatic Metadata
Metadatas.applyVersion
(Metadata source, Metadata target) Applies version in source metadata to target metadata, if no version in target metadata.Merges the given metadata information into the given builder.static void
Metadatas.updateMetadata
(CacheEntry entry, Metadata providedMetadata) Set theprovidedMetadata
on the cache entry. -
Uses of Metadata in org.infinispan.metadata.impl
Classes in org.infinispan.metadata.impl that implement MetadataModifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.class
Metadata
implementation that must be passed to theDataContainer.put(Object, Object, org.infinispan.metadata.Metadata)
when the entry to store is a L1 entry.Methods in org.infinispan.metadata.impl that return MetadataModifier and TypeMethodDescriptionInternalMetadataImpl.actual()
Deprecated, for removal: This API element is subject to removal in a future version.static Metadata
InternalMetadataImpl.extractMetadata
(Metadata metadata) Deprecated, for removal: This API element is subject to removal in a future version.L1Metadata.metadata()
Methods in org.infinispan.metadata.impl with parameters of type MetadataModifier and TypeMethodDescriptionstatic Metadata
InternalMetadataImpl.extractMetadata
(Metadata metadata) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.infinispan.metadata.impl with parameters of type MetadataModifierConstructorDescriptionInternalMetadataImpl
(Metadata actual, long created, long lastUsed) Deprecated, for removal: This API element is subject to removal in a future version.L1Metadata
(Metadata metadata) -
Uses of Metadata in org.infinispan.notifications.cachelistener
Methods in org.infinispan.notifications.cachelistener with parameters of type MetadataModifier and TypeMethodDescriptionstatic 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) CacheNotifier.notifyCacheEntryCreated
(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryCreatedEvent
event.CacheNotifierImpl.notifyCacheEntryCreated
(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryExpired
(K key, V value, Metadata metadata, InvocationContext ctx) Notifies all registered listeners of a CacheEntryExpired event.CacheNotifierImpl.notifyCacheEntryExpired
(K key, V value, Metadata metadata, InvocationContext ctx) CacheNotifier.notifyCacheEntryInvalidated
(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryInvalidatedEvent
event.CacheNotifierImpl.notifyCacheEntryInvalidated
(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryModified
(K key, V value, Metadata metadata, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryModifiedEvent
event.CacheNotifierImpl.notifyCacheEntryModified
(K key, V value, Metadata metadata, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryRemoved
(K key, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryRemovedEvent
event.CacheNotifierImpl.notifyCacheEntryRemoved
(K key, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) -
Uses of Metadata in org.infinispan.notifications.cachelistener.cluster
Methods in org.infinispan.notifications.cachelistener.cluster that return Metadata -
Uses of Metadata in org.infinispan.notifications.cachelistener.event
Methods in org.infinispan.notifications.cachelistener.event that return MetadataModifier and TypeMethodDescriptionCacheEntryEvent.getMetadata()
Retrieves the metadata associated with the entry.CacheEntryModifiedEvent.getOldMetadata()
Regardless of whether isPre() is true or is false, this method returns the metadata of the entry being deleted.CacheEntryRemovedEvent.getOldMetadata()
Regardless of whether isPre() is true or is false, this method returns the metadata of the entry being deleted. -
Uses of Metadata in org.infinispan.notifications.cachelistener.event.impl
Methods in org.infinispan.notifications.cachelistener.event.impl that return MetadataMethods in org.infinispan.notifications.cachelistener.event.impl with parameters of type MetadataModifier and TypeMethodDescriptionvoid
EventImpl.setMetadata
(Metadata metadata) void
EventImpl.setOldMetadata
(Metadata metadata) -
Uses of Metadata in org.infinispan.notifications.cachelistener.filter
Methods in org.infinispan.notifications.cachelistener.filter with parameters of type MetadataModifier and TypeMethodDescriptionfinal boolean
AbstractCacheEventFilterConverter.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
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) boolean
PostCacheEventFilter.accept
(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType) final C
AbstractCacheEventFilterConverter.convert
(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType) CacheEventConverter.convert
(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType) Converts the given newValue into something different possibly.KeyValueFilterConverterAsCacheEventFilterConverter.convert
(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType) 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.CacheEventFilterConverterAsKeyValueFilterConverter.filterAndConvert
(K key, V value, Metadata metadata) KeyValueFilterConverterAsCacheEventFilterConverter.filterAndConvert
(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType) -
Uses of Metadata in org.infinispan.persistence.remote.upgrade
Methods in org.infinispan.persistence.remote.upgrade with parameters of type Metadata -
Uses of Metadata in org.infinispan.persistence.spi
Methods in org.infinispan.persistence.spi that return MetadataMethods in org.infinispan.persistence.spi with parameters of type MetadataModifier and TypeMethodDescriptionMarshallableEntryFactory.create
(Object key, Object value, Metadata metadata, PrivateMetadata internalMetadata, long created, long lastUsed) Creates aMarshallableEntry
using non-marshalled POJOs as arguments -
Uses of Metadata in org.infinispan.security.impl
Methods in org.infinispan.security.impl with parameters of type MetadataModifier and TypeMethodDescriptionSecureCacheImpl.compute
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) SecureCacheImpl.computeAsync
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) SecureCacheImpl.computeIfAbsent
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) SecureCacheImpl.computeIfAbsentAsync
(K key, Function<? super K, ? extends V> mappingFunction, Metadata metadata) SecureCacheImpl.computeIfPresent
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) SecureCacheImpl.computeIfPresentAsync
(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) SecureCacheImpl.merge
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) SecureCacheImpl.mergeAsync
(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) void
SecureCacheImpl.putAllAsync
(Map<? extends K, ? extends V> map, Metadata metadata) SecureCacheImpl.putAsyncEntry
(K key, V value, Metadata metadata) SecureCacheImpl.putAsyncReturnEntry
(K key, V value, Metadata metadata) void
SecureCacheImpl.putForExternalRead
(K key, V value, Metadata metadata) SecureCacheImpl.putIfAbsent
(K key, V value, Metadata metadata) SecureCacheImpl.putIfAbsentAsync
(K key, V value, Metadata metadata) SecureCacheImpl.putIfAbsentAsyncEntry
(K key, V value, Metadata metadata) SecureCacheImpl.putIfAbsentAsyncReturnEntry
(K key, V value, Metadata metadata) boolean
SecureCacheImpl.replaceAsync
(K key, V value, Metadata metadata) SecureCacheImpl.replaceAsync
(K key, V oldValue, V newValue, Metadata metadata) SecureCacheImpl.replaceAsyncEntry
(K key, V value, Metadata metadata) SecureCacheImpl.replaceAsyncReturnEntry
(K key, V value, Metadata metadata) -
Uses of Metadata in org.infinispan.server.hotrod.event
Methods in org.infinispan.server.hotrod.event with parameters of type Metadata -
Uses of Metadata in org.infinispan.server.hotrod.iteration
Methods in org.infinispan.server.hotrod.iteration with parameters of type MetadataModifier and TypeMethodDescriptionIterationFilter.filterAndConvert
(K key, V value, Metadata metadata) -
Uses of Metadata in org.infinispan.xsite.commands.remote
Methods in org.infinispan.xsite.commands.remote with parameters of type MetadataModifier and TypeMethodDescriptionvoid
IracPutManyRequest.addUpdate
(Object key, Object value, Metadata metadata, IracMetadata iracMetadata) -
Uses of Metadata in org.infinispan.xsite.spi
Methods in org.infinispan.xsite.spi that return MetadataConstructors in org.infinispan.xsite.spi with parameters of type Metadata -
Uses of Metadata in org.infinispan.xsite.statetransfer
Methods in org.infinispan.xsite.statetransfer that return Metadata