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 VAdvancedCache. compute(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction, Metadata metadata)An overloaded form of#compute(K, BiFunction), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.default VAdvancedCache. compute(K key, SerializableBiFunction<? super K,? super V,? extends V> remappingFunction, Metadata metadata)java.util.concurrent.CompletableFuture<V>AdvancedCache. computeAsync(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction, Metadata metadata)Overloaded#computeAsync(K, BiFunction), which stores metadata alongside the value.default java.util.concurrent.CompletableFuture<V>AdvancedCache. computeAsync(K key, SerializableBiFunction<? super K,? super V,? extends V> remappingFunction, Metadata metadata)VAdvancedCache. computeIfAbsent(K key, java.util.function.Function<? super K,? extends V> mappingFunction, Metadata metadata)An overloaded form of#computeIfAbsent(K, Function), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.default VAdvancedCache. computeIfAbsent(K key, SerializableFunction<? super K,? extends V> mappingFunction, Metadata metadata)java.util.concurrent.CompletableFuture<V>AdvancedCache. computeIfAbsentAsync(K key, java.util.function.Function<? super K,? extends V> mappingFunction, Metadata metadata)Overloaded#computeIfAbsentAsync(K, Function), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.default java.util.concurrent.CompletableFuture<V>AdvancedCache. computeIfAbsentAsync(K key, SerializableFunction<? super K,? extends V> mappingFunction, Metadata metadata)VAdvancedCache. computeIfPresent(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction, Metadata metadata)An overloaded form of#computeIfPresent(K, BiFunction), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.default VAdvancedCache. computeIfPresent(K key, SerializableBiFunction<? super K,? super V,? extends V> remappingFunction, Metadata metadata)java.util.concurrent.CompletableFuture<V>AdvancedCache. computeIfPresentAsync(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction, Metadata metadata)Overloaded#computeIfPresentAsync(K, BiFunction), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.default java.util.concurrent.CompletableFuture<V>AdvancedCache. computeIfPresentAsync(K key, SerializableBiFunction<? super K,? super V,? extends V> remappingFunction, Metadata metadata)VAdvancedCache. merge(K key, V value, java.util.function.BiFunction<? super V,? super V,? extends V> remappingFunction, Metadata metadata)An overloaded form ofCache.merge(Object, Object, BiFunction), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.default VAdvancedCache. merge(K key, V value, SerializableBiFunction<? super V,? super V,? extends V> remappingFunction, Metadata metadata)java.util.concurrent.CompletableFuture<V>AdvancedCache. mergeAsync(K key, V value, java.util.function.BiFunction<? super V,? super V,? extends V> remappingFunction, Metadata metadata)OverloadedAsyncCache.mergeAsync(Object, Object, BiFunction), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.default java.util.concurrent.CompletableFuture<V>AdvancedCache. mergeAsync(K key, V value, SerializableBiFunction<? super V,? super V,? extends V> remappingFunction, Metadata metadata)VAdvancedCache. put(K key, V value, Metadata metadata)An overloaded form of#put(K, V), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.voidAdvancedCache. putAll(java.util.Map<? extends K,? extends V> map, Metadata metadata)An overloaded form ofMap.putAll(Map), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entries being stored, such as lifespan, version of value...etc.default java.util.concurrent.CompletableFuture<java.lang.Void>AdvancedCache. putAllAsync(java.util.Map<? extends K,? extends V> map, Metadata metadata)java.util.concurrent.CompletableFuture<V>AdvancedCache. putAsync(K key, V value, Metadata metadata)Asynchronous version ofAdvancedCache.put(Object, Object, Metadata)which stores metadata alongside the value.voidAdvancedCache. putForExternalRead(K key, V value, Metadata metadata)An overloaded form of#putForExternalRead(K, V), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.VAdvancedCache. putIfAbsent(K key, V value, Metadata metadata)An overloaded form of#putIfAbsent(K, V), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.default java.util.concurrent.CompletableFuture<V>AdvancedCache. putIfAbsentAsync(K key, V value, Metadata metadata)An overloaded form of#putIfAbsentAsync(K, V), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.VAdvancedCache. replace(K key, V value, Metadata metadata)An overloaded form of#replace(K, V), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.booleanAdvancedCache. replace(K key, V oldValue, V newValue, Metadata metadata)An overloaded form of#replace(K, V, V), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.default java.util.concurrent.CompletableFuture<V>AdvancedCache. replaceAsync(K key, V value, Metadata metadata)An overloaded form of#replaceAsync(K, V), which takes in an instance ofMetadatawhich can be used to provide metadata information for the entry being stored, such as lifespan, version of value...etc.default java.util.concurrent.CompletableFuture<java.lang.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 voidDataContainer. 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 classRemoteMetadataThis 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 MetadataReadCommittedEntry. metadataprotected MetadataRepeatableReadEntry. oldMetadataMethods in org.infinispan.container.entries that return Metadata Modifier and Type Method Description MetadataAbstractInternalCacheEntry. getMetadata()MetadataClearCacheEntry. getMetadata()MetadataForwardingCacheEntry. getMetadata()MetadataImmortalCacheEntry. getMetadata()MetadataImmortalCacheValue. getMetadata()MetadataInternalCacheValue. getMetadata()MetadataMortalCacheEntry. getMetadata()MetadataNullCacheEntry. getMetadata()MetadataReadCommittedEntry. getMetadata()MetadataTransientCacheEntry. getMetadata()MetadataTransientMortalCacheEntry. getMetadata()MetadataRepeatableReadEntry. getOldMetadata()Methods in org.infinispan.container.entries with parameters of type Metadata Modifier and Type Method Description longCacheEntrySizeCalculator. calculateSize(K key, V value, Metadata metadata)voidAbstractInternalCacheEntry. setMetadata(Metadata metadata)voidClearCacheEntry. setMetadata(Metadata metadata)voidForwardingCacheEntry. setMetadata(Metadata metadata)voidImmortalCacheEntry. setMetadata(Metadata metadata)voidMortalCacheEntry. setMetadata(Metadata metadata)voidNullCacheEntry. setMetadata(Metadata metadata)voidReadCommittedEntry. setMetadata(Metadata metadata)voidTransientCacheEntry. setMetadata(Metadata metadata)voidTransientMortalCacheEntry. setMetadata(Metadata metadata)Constructors in org.infinispan.container.entries with parameters of type Metadata Constructor Description ReadCommittedEntry(java.lang.Object key, java.lang.Object value, Metadata metadata)RepeatableReadEntry(java.lang.Object key, java.lang.Object value, Metadata metadata)VersionedRepeatableReadEntry(java.lang.Object key, java.lang.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 MetadataMetadataImmortalCacheEntry. metadataprotected MetadataMetadataMortalCacheEntry. metadataprotected MetadataMetadataTransientCacheEntry. metadataMethods in org.infinispan.container.entries.metadata that return Metadata Modifier and Type Method Description MetadataMetadataAware. getMetadata()Get metadata of this cache entry.MetadataMetadataImmortalCacheEntry. getMetadata()MetadataMetadataImmortalCacheValue. getMetadata()MetadataMetadataMortalCacheEntry. getMetadata()MetadataMetadataMortalCacheValue. getMetadata()MetadataMetadataTransientCacheEntry. getMetadata()MetadataMetadataTransientCacheValue. getMetadata()MetadataMetadataTransientMortalCacheEntry. getMetadata()Methods in org.infinispan.container.entries.metadata with parameters of type Metadata Modifier and Type Method Description voidMetadataAware. setMetadata(Metadata metadata)Set the metadata in the cache entry.voidMetadataImmortalCacheEntry. setMetadata(Metadata metadata)voidMetadataImmortalCacheValue. setMetadata(Metadata metadata)voidMetadataMortalCacheEntry. setMetadata(Metadata metadata)voidMetadataMortalCacheValue. setMetadata(Metadata metadata)voidMetadataTransientCacheEntry. setMetadata(Metadata metadata)voidMetadataTransientCacheValue. setMetadata(Metadata metadata)voidMetadataTransientMortalCacheEntry. setMetadata(Metadata metadata)Constructors in org.infinispan.container.entries.metadata with parameters of type Metadata Constructor Description L1MetadataInternalCacheEntry(java.lang.Object key, java.lang.Object value, Metadata metadata, long created)MetadataImmortalCacheEntry(java.lang.Object key, java.lang.Object value, Metadata metadata)MetadataImmortalCacheValue(java.lang.Object value, Metadata metadata)MetadataMortalCacheEntry(java.lang.Object key, java.lang.Object value, Metadata metadata, long created)MetadataMortalCacheValue(java.lang.Object value, Metadata metadata, long created)MetadataTransientCacheEntry(java.lang.Object key, java.lang.Object value, Metadata metadata, long lastUsed)MetadataTransientCacheValue(java.lang.Object value, Metadata metadata, long lastUsed)MetadataTransientMortalCacheEntry(java.lang.Object key, java.lang.Object value, Metadata metadata, long now)MetadataTransientMortalCacheEntry(java.lang.Object key, java.lang.Object value, Metadata metadata, long lastUsed, long created)MetadataTransientMortalCacheValue(java.lang.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 longOffHeapEntryFactory. calculateSize(WrappedBytes key, WrappedBytes value, Metadata metadata)Method used to calculate how much memory in size the key, value and metadata use.longOffHeapEntryFactoryImpl. calculateSize(WrappedBytes key, WrappedBytes value, Metadata metadata)longOffHeapEntryFactory. create(WrappedBytes key, WrappedBytes value, Metadata metadata)Creates an off heap entry using the provided key value and metadatalongOffHeapEntryFactoryImpl. create(WrappedBytes key, WrappedBytes value, Metadata metadata)Create an entry off-heap.voidBoundedOffHeapDataContainer. put(int segment, WrappedBytes key, WrappedBytes value, Metadata metadata, long createdTimestamp, long lastUseTimestamp)voidBoundedOffHeapDataContainer. put(WrappedBytes key, WrappedBytes value, Metadata metadata)voidSegmentedBoundedOffHeapDataContainer. put(int segment, WrappedBytes key, WrappedBytes value, Metadata metadata, long createdTimestamp, long lastUseTimestamp)voidSegmentedBoundedOffHeapDataContainer. 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 booleanAbstractKeyValueFilterConverter. accept(K key, V value, Metadata metadata)booleanAcceptAllKeyValueFilter. accept(java.lang.Object key, java.lang.Object value, Metadata metadata)booleanCompositeKeyValueFilter. accept(K key, V value, Metadata metadata)booleanKeyFilterAsKeyValueFilter. accept(K key, V value, Metadata metadata)booleanKeyValueFilter. accept(K key, V value, Metadata metadata)CAbstractKeyValueFilterConverter. convert(K key, V value, Metadata metadata)CConverter. convert(K key, V value, Metadata metadata)CKeyValueFilterConverter. 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 java.lang.VoidEntryView.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 interfaceInternalMetadataDeprecated.since 10.0Classes in org.infinispan.metadata that implement Metadata Modifier and Type Class Description classEmbeddedMetadataMetadata class for embedded caches.static classEmbeddedMetadata.EmbeddedExpirableMetadatastatic classEmbeddedMetadata.EmbeddedLifespanExpirableMetadatastatic classEmbeddedMetadata.EmbeddedMaxIdleExpirableMetadataMethods in org.infinispan.metadata that return Metadata Modifier and Type Method Description static MetadataMetadatas. applyVersion(Metadata source, Metadata target)Applies version in source metadata to target metadata, if no version in target metadata.MetadataEmbeddedMetadata.Builder. build()MetadataMetadata.Builder. build()Build a metadata instance.Methods in org.infinispan.metadata with parameters of type Metadata Modifier and Type Method Description static MetadataMetadatas. applyVersion(Metadata source, Metadata target)Applies version in source metadata to target metadata, if no version in target metadata.Metadata.BuilderEmbeddedMetadata.Builder. merge(Metadata metadata)Metadata.BuilderMetadata.Builder. merge(Metadata metadata)Merges the given metadata information into the given builder.static voidMetadatas. updateMetadata(CacheEntry entry, Metadata providedMetadata)Set theprovidedMetadataon 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 java.util.concurrent.CompletionStage<java.lang.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, java.lang.Object previousValue, Metadata previousMetadata, EvictionManager evictionManager)java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifier. notifyCacheEntryCreated(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)Notifies all registered listeners of aCacheEntryCreatedEventevent.java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifierImpl. notifyCacheEntryCreated(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifier. notifyCacheEntryExpired(K key, V value, Metadata metadata, InvocationContext ctx)Notifies all registered listeners of a CacheEntryExpired event.java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifierImpl. notifyCacheEntryExpired(K key, V value, Metadata metadata, InvocationContext ctx)java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifier. notifyCacheEntryInvalidated(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)Notifies all registered listeners of aCacheEntryInvalidatedEventevent.java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifierImpl. notifyCacheEntryInvalidated(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)java.util.concurrent.CompletionStage<java.lang.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 aCacheEntryModifiedEventevent.java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifierImpl. notifyCacheEntryModified(K key, V value, Metadata metadata, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifier. notifyCacheEntryRemoved(K key, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, org.infinispan.commands.FlagAffectedCommand command)Notifies all registered listeners of aCacheEntryRemovedEventevent.java.util.concurrent.CompletionStage<java.lang.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 MetadataClusterEvent. 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 MetadataCacheEntryEvent. 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 booleanAbstractCacheEventFilterConverter. accept(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)booleanCacheEventFilter. 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.booleanCacheEventFilterAsKeyValueFilter. accept(K key, V value, Metadata metadata)booleanCompositeCacheEventFilter. accept(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)booleanKeyFilterAsCacheEventFilter. accept(K key, java.lang.Object oldValue, Metadata oldMetadata, java.lang.Object newValue, Metadata newMetadata, EventType eventType)booleanKeyValueFilterAsCacheEventFilter. accept(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)booleanKeyValueFilterConverterAsCacheEventFilterConverter. accept(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)booleanPostCacheEventFilter. accept(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)CAbstractCacheEventFilterConverter. convert(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)CCacheEventConverter. convert(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)Converts the given newValue into something different possibly.CCacheEventConverterAsConverter. convert(K key, V value, Metadata metadata)CKeyValueFilterConverterAsCacheEventFilterConverter. convert(K key, V oldValue, Metadata oldMetadata, V newValue, Metadata newMetadata, EventType eventType)CCacheEventFilterConverter. 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.CCacheEventFilterConverterAsKeyValueFilterConverter. filterAndConvert(K key, V value, Metadata metadata)CKeyValueFilterConverterAsCacheEventFilterConverter. 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 booleanRemovedFilter. accept(java.lang.Object key, java.lang.Object oldValue, Metadata oldMetadata, java.lang.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 MetadataEmbeddedMetadataHelper. buildMetadata(java.lang.String contentType, long lifespan, java.util.concurrent.TimeUnit lifespanUnit, long maxIdle, java.util.concurrent.TimeUnit maxIdleUnit)MetadataMetadataHelper. buildMetadata(java.lang.String contentType, long lifespan, java.util.concurrent.TimeUnit lifespanUnit, long maxIdle, java.util.concurrent.TimeUnit maxIdleUnit) -
Uses of Metadata in org.infinispan.persistence.spi
Methods in org.infinispan.persistence.spi that return Metadata Modifier and Type Method Description MetadataMarshallableEntry. getMetadata()Methods in org.infinispan.persistence.spi with parameters of type Metadata Modifier and Type Method Description MarshallableEntry<K,V>MarshallableEntryFactory. create(java.lang.Object key, java.lang.Object value, Metadata metadata, long created, long lastUsed)Creates aMarshallableEntryusing non-marshalled POJOs as arguments -
Uses of Metadata in org.infinispan.rest.operations
Methods in org.infinispan.rest.operations that return Metadata Modifier and Type Method Description static MetadataCacheOperationsHelper. createMetadata(Configuration cfg, java.lang.Long ttl, java.lang.Long idleTime) -
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 CIterationFilter. filterAndConvert(K key, V value, Metadata metadata) -
Uses of Metadata in org.infinispan.xsite.statetransfer
Methods in org.infinispan.xsite.statetransfer that return Metadata Modifier and Type Method Description MetadataXSiteState. metadata()
-