Uses of Interface
org.infinispan.metadata.Metadata
-
-
Uses of Metadata in org.infinispan
Methods in org.infinispan with parameters of type Metadata Modifier and Type Method 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 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)
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 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)
CompletableFuture<V>
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)
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 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)
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 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)
V
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)
CompletableFuture<V>
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)
V
AdvancedCache. put(K key, V value, 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
AdvancedCache. putAll(Map<? extends K,? extends V> map, Metadata metadata)
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)
CompletableFuture<V>
AdvancedCache. putAsync(K key, V value, 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.V
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.V
AdvancedCache. replace(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
AdvancedCache. replace(K key, V oldValue, V newValue, Metadata metadata)
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.container
Methods in org.infinispan.container with parameters of type Metadata Modifier and Type Method 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. -
Uses of Metadata in org.infinispan.container.entries
Classes in org.infinispan.container.entries that implement Metadata Modifier and Type Class Description class
RemoteMetadata
This is a metadata type used by scattered cache during state transfer.Fields in org.infinispan.container.entries declared as Metadata Modifier and Type Field Description protected Metadata
ReadCommittedEntry. metadata
protected Metadata
RepeatableReadEntry. oldMetadata
Methods in org.infinispan.container.entries that return Metadata Modifier and Type Method Description Metadata
AbstractInternalCacheEntry. getMetadata()
Metadata
ClearCacheEntry. getMetadata()
Metadata
ForwardingCacheEntry. getMetadata()
Metadata
ImmortalCacheEntry. getMetadata()
Metadata
ImmortalCacheValue. getMetadata()
Metadata
InternalCacheValue. getMetadata()
Metadata
MortalCacheEntry. getMetadata()
Metadata
NullCacheEntry. getMetadata()
Metadata
ReadCommittedEntry. getMetadata()
Metadata
TransientCacheEntry. getMetadata()
Metadata
TransientMortalCacheEntry. getMetadata()
Metadata
RepeatableReadEntry. getOldMetadata()
Methods in org.infinispan.container.entries with parameters of type Metadata Modifier and Type Method Description long
CacheEntrySizeCalculator. calculateSize(K key, V value, Metadata metadata)
default void
CacheEntry. commit(DataContainer<K,V> container, Metadata metadata)
Deprecated.since 9.1void
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 Metadata Constructor Description ReadCommittedEntry(Object key, Object value, Metadata metadata)
RepeatableReadEntry(Object key, Object value, Metadata metadata)
VersionedRepeatableReadEntry(Object key, Object value, Metadata metadata)
-
Uses of Metadata in org.infinispan.container.entries.metadata
Fields in org.infinispan.container.entries.metadata declared as Metadata Modifier and Type Field Description protected Metadata
MetadataImmortalCacheEntry. metadata
protected Metadata
MetadataMortalCacheEntry. metadata
protected Metadata
MetadataTransientCacheEntry. metadata
Methods in org.infinispan.container.entries.metadata that return Metadata Modifier and Type Method 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()
Methods in org.infinispan.container.entries.metadata with parameters of type Metadata Modifier and Type Method 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)
Constructors in org.infinispan.container.entries.metadata with parameters of type Metadata Constructor Description L1MetadataInternalCacheEntry(Object key, Object value, Metadata metadata, long created)
MetadataImmortalCacheEntry(Object key, Object value, Metadata metadata)
MetadataImmortalCacheValue(Object value, Metadata metadata)
MetadataMortalCacheEntry(Object key, Object value, Metadata metadata, long created)
MetadataMortalCacheValue(Object value, Metadata metadata, long created)
MetadataTransientCacheEntry(Object key, Object value, Metadata metadata, long lastUsed)
MetadataTransientCacheValue(Object value, Metadata metadata, long lastUsed)
MetadataTransientMortalCacheEntry(Object key, Object value, Metadata metadata, long now)
MetadataTransientMortalCacheEntry(Object key, Object value, Metadata metadata, long lastUsed, long created)
MetadataTransientMortalCacheValue(Object v, Metadata metadata, long created, long lastUsed)
-
Uses of Metadata in org.infinispan.container.offheap
Methods in org.infinispan.container.offheap with parameters of type Metadata Modifier and Type Method Description 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
OffHeapEntryFactoryImpl. calculateSize(WrappedBytes key, WrappedBytes value, Metadata metadata)
long
OffHeapEntryFactory. create(WrappedBytes key, WrappedBytes value, Metadata metadata)
Creates an off heap entry using the provided key value and metadatalong
OffHeapEntryFactoryImpl. create(WrappedBytes key, WrappedBytes value, Metadata metadata)
Create an entry off-heap.void
BoundedOffHeapDataContainer. put(int segment, WrappedBytes key, WrappedBytes value, Metadata metadata, long createdTimestamp, long lastUseTimestamp)
void
BoundedOffHeapDataContainer. put(WrappedBytes key, WrappedBytes value, Metadata metadata)
void
SegmentedBoundedOffHeapDataContainer. put(int segment, WrappedBytes key, WrappedBytes value, Metadata metadata, long createdTimestamp, long lastUseTimestamp)
void
SegmentedBoundedOffHeapDataContainer. put(WrappedBytes key, WrappedBytes value, Metadata metadata)
-
Uses of Metadata in org.infinispan.filter
Methods in org.infinispan.filter with parameters of type Metadata Modifier and Type Method Description boolean
AbstractKeyValueFilterConverter. accept(K key, V value, Metadata metadata)
boolean
AcceptAllKeyValueFilter. accept(Object key, Object value, Metadata metadata)
boolean
CompositeKeyValueFilter. accept(K key, V value, Metadata metadata)
boolean
KeyFilterAsKeyValueFilter. accept(K key, V value, Metadata metadata)
boolean
KeyValueFilter. accept(K key, V 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. -
Uses of Metadata in org.infinispan.functional
Methods in org.infinispan.functional with parameters of type Metadata Modifier and Type Method Description Void
EntryView.WriteEntryView. set(V value, Metadata metadata)
Set this value along with metadata object. -
Uses of Metadata in org.infinispan.metadata
Subinterfaces of Metadata in org.infinispan.metadata Modifier and Type Interface Description interface
InternalMetadata
Classes in org.infinispan.metadata that implement Metadata Modifier and Type Class Description class
EmbeddedMetadata
Metadata class for embedded caches.Methods in org.infinispan.metadata that return Metadata Modifier and Type Method 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.Methods in org.infinispan.metadata with parameters of type Metadata Modifier and Type Method 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 theprovidedMetadata
on the cache entry. -
Uses of Metadata in org.infinispan.notifications.cachelistener
Methods in org.infinispan.notifications.cachelistener with parameters of type Metadata Modifier and Type Method Description static void
NotifyHelper. entryCommitted(CacheNotifier notifier, org.infinispan.functional.impl.FunctionalNotifier functionalNotifier, boolean created, boolean removed, boolean expired, CacheEntry entry, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command, Object previousValue, Metadata previousMetadata)
void
CacheNotifier. notifyCacheEntryCreated(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)
Notifies all registered listeners of aCacheEntryCreatedEvent
event.void
CacheNotifierImpl. notifyCacheEntryCreated(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)
void
CacheNotifier. notifyCacheEntryExpired(K key, V value, Metadata metadata, InvocationContext ctx)
Notifies all registered listeners of a CacheEntryExpired event.void
CacheNotifierImpl. notifyCacheEntryExpired(K key, V value, Metadata metadata, InvocationContext ctx)
void
CacheNotifier. notifyCacheEntryInvalidated(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)
Notifies all registered listeners of aCacheEntryInvalidatedEvent
event.void
CacheNotifierImpl. notifyCacheEntryInvalidated(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)
void
CacheNotifier. notifyCacheEntryModified(K key, V value, Metadata metadata, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)
Notifies all registered listeners of aCacheEntryModifiedEvent
event.void
CacheNotifierImpl. notifyCacheEntryModified(K key, V value, Metadata metadata, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)
void
CacheNotifier. notifyCacheEntryRemoved(K key, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)
Notifies all registered listeners of aCacheEntryRemovedEvent
event.void
CacheNotifierImpl. notifyCacheEntryRemoved(K key, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)
-
Uses of Metadata in org.infinispan.notifications.cachelistener.cluster
Methods in org.infinispan.notifications.cachelistener.cluster that return Metadata Modifier and Type Method Description Metadata
ClusterEvent. getMetadata()
-
Uses of Metadata in org.infinispan.notifications.cachelistener.event
Methods in org.infinispan.notifications.cachelistener.event that return Metadata Modifier and Type Method Description Metadata
CacheEntryEvent. getMetadata()
Retrieves the metadata associated with the entry. -
Uses of Metadata in org.infinispan.notifications.cachelistener.filter
Methods in org.infinispan.notifications.cachelistener.filter with parameters of type Metadata Modifier and Type Method Description 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
CacheEventFilterAsKeyValueFilter. accept(K key, V value, Metadata metadata)
boolean
CompositeCacheEventFilter. accept(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)
boolean
KeyFilterAsCacheEventFilter. accept(K key, Object oldValue, Metadata oldMetadata, Object 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)
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
CacheEventConverterAsConverter. convert(K key, V value, Metadata metadata)
C
KeyValueFilterConverterAsCacheEventFilterConverter. convert(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)
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
CacheEventFilterConverterAsKeyValueFilterConverter. filterAndConvert(K key, V value, Metadata metadata)
C
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 Modifier and Type Method Description boolean
RemovedFilter. accept(Object key, Object oldValue, Metadata oldMetadata, Object newValue, Metadata newMetadata, EventType eventType)
-
Uses of Metadata in org.infinispan.persistence.rest.metadata
Methods in org.infinispan.persistence.rest.metadata that return Metadata Modifier and Type Method Description Metadata
EmbeddedMetadataHelper. buildMetadata(String contentType, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
Metadata
MetadataHelper. buildMetadata(String contentType, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
-
Uses of Metadata in org.infinispan.rest.operations
Methods in org.infinispan.rest.operations that return Metadata Modifier and Type Method Description static Metadata
CacheOperationsHelper. createMetadata(Configuration cfg, Optional<Long> ttl, Optional<Long> idleTime)
-
Uses of Metadata in org.infinispan.rest.operations.mime
Classes in org.infinispan.rest.operations.mime that implement Metadata Modifier and Type Class Description class
MimeMetadata
Metadata for MIME data stored in REST servers.Methods in org.infinispan.rest.operations.mime that return Metadata Modifier and Type Method Description Metadata
MimeMetadataBuilder. build()
-
Uses of Metadata in org.infinispan.server.hotrod
Methods in org.infinispan.server.hotrod that return Metadata Modifier and Type Method Description Metadata
HotRodServer. buildMetadata(HotRodHeader header, long lifespan, TimeUnitValue lifespanUnit, long maxIdle, TimeUnitValue maxIdleUnit)
-
Uses of Metadata in org.infinispan.server.hotrod.event
Methods in org.infinispan.server.hotrod.event with parameters of type Metadata Modifier and Type Method Description KeyValueWithPrevious<K,V>
KeyValueWithPreviousEventConverter. convert(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)
-
Uses of Metadata in org.infinispan.server.hotrod.iteration
Methods in org.infinispan.server.hotrod.iteration with parameters of type Metadata Modifier and Type Method Description C
IterationFilter. filterAndConvert(K key, V value, Metadata metadata)
-
Uses of Metadata in org.infinispan.server.memcached
Classes in org.infinispan.server.memcached that implement Metadata Modifier and Type Class Description class
MemcachedMetadata
Memcached metadata information.Methods in org.infinispan.server.memcached that return Metadata Modifier and Type Method Description protected Metadata
MemcachedDecoder. buildMetadata()
-
Uses of Metadata in org.infinispan.xsite.statetransfer
Methods in org.infinispan.xsite.statetransfer that return Metadata Modifier and Type Method Description Metadata
XSiteState. metadata()
-