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.
Cache
configurationPackage that contains the interface describing the underlyling API for storage in Infinispan
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 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, org.infinispan.util.function.SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) OverloadedAdvancedCache.compute(Object, BiFunction, Metadata)
withSerializableBiFunction
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, org.infinispan.util.function.SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) OverloadedAdvancedCache.computeAsync(Object, BiFunction, Metadata)
withSerializableBiFunction
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, org.infinispan.util.function.SerializableFunction<? super K, ? extends V> mappingFunction, Metadata metadata) OverloadedAdvancedCache.computeIfAbsent(Object, Function, Metadata)
withSerializableFunction
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, org.infinispan.util.function.SerializableFunction<? super K, ? extends V> mappingFunction, Metadata metadata) OverloadedAdvancedCache.computeIfAbsentAsync(Object, Function, Metadata)
withSerializableFunction
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, org.infinispan.util.function.SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) OverloadedAdvancedCache.computeIfPresent(Object, BiFunction, Metadata)
withSerializableBiFunction
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, org.infinispan.util.function.SerializableBiFunction<? super K, ? super V, ? extends V> remappingFunction, Metadata metadata) OverloadedAdvancedCache.computeIfPresentAsync(Object, BiFunction, Metadata)
withSerializableBiFunction
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, org.infinispan.util.function.SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) OverloadedAdvancedCache.merge(Object, Object, BiFunction, Metadata)
withSerializableBiFunction
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, org.infinispan.util.function.SerializableBiFunction<? super V, ? super V, ? extends V> remappingFunction, Metadata metadata) OverloadedAdvancedCache.mergeAsync(Object, Object, BiFunction, Metadata)
withSerializableBiFunction
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.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.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) -
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.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.globalstate
Methods in org.infinispan.globalstate with parameters of type Metadata -
Uses of Metadata in org.infinispan.metadata
Subinterfaces of Metadata in org.infinispan.metadataClasses 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
(org.infinispan.container.entries.CacheEntry entry, Metadata providedMetadata) Set theprovidedMetadata
on the cache entry. -
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.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.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, org.infinispan.metadata.impl.PrivateMetadata internalMetadata, long created, long lastUsed) Creates aMarshallableEntry
using non-marshalled POJOs as arguments -
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