Package | Description |
---|---|
org.infinispan |
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
|
org.infinispan.filter |
Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
|
org.infinispan.functional |
Functional API package
|
org.infinispan.metadata |
Metadata interfaces
|
org.infinispan.notifications.cachelistener.event |
Cache -specific listener events |
org.infinispan.notifications.cachelistener.filter |
Cache -specific notifications and eventing filtering classes. |
Modifier and Type | Method and Description |
---|---|
V |
AdvancedCache.compute(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
An overloaded form of
#compute(K, BiFunction) , which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
default V |
AdvancedCache.compute(K key,
SerializableBiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
|
V |
AdvancedCache.computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction,
Metadata metadata)
An overloaded form of
#computeIfAbsent(K, Function) , which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
default V |
AdvancedCache.computeIfAbsent(K key,
SerializableFunction<? super K,? extends V> mappingFunction,
Metadata metadata)
|
V |
AdvancedCache.computeIfPresent(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
An overloaded form of
#computeIfPresent(K, BiFunction) , which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
default V |
AdvancedCache.computeIfPresent(K key,
SerializableBiFunction<? super K,? super V,? extends V> remappingFunction,
Metadata metadata)
|
V |
AdvancedCache.merge(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata)
An overloaded form of
Cache.merge(Object, Object, BiFunction) , which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
default V |
AdvancedCache.merge(K key,
V value,
SerializableBiFunction<? super V,? super V,? extends V> remappingFunction,
Metadata metadata)
|
V |
AdvancedCache.put(K key,
V value,
Metadata metadata)
An overloaded form of
#put(K, V) , which takes in an instance of
Metadata which can be used to provide metadata information for
the entry being stored, such as lifespan, version of value...etc. |
void |
AdvancedCache.putAll(Map<? extends K,? extends V> map,
Metadata metadata)
An overloaded form of
Map.putAll(Map) , which takes in an instance of
Metadata which can be used to provide metadata information for
the entries being stored, such as lifespan, version of value...etc. |
CompletableFuture<V> |
AdvancedCache.putAsync(K key,
V value,
Metadata metadata)
Asynchronous version of
AdvancedCache.put(Object, Object, Metadata) which stores
metadata alongside the value. |
void |
AdvancedCache.putForExternalRead(K key,
V value,
Metadata metadata)
An overloaded form of
#putForExternalRead(K, V) , which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
V |
AdvancedCache.putIfAbsent(K key,
V value,
Metadata metadata)
An overloaded form of
#putIfAbsent(K, V) , which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
V |
AdvancedCache.replace(K key,
V value,
Metadata metadata)
An overloaded form of
#replace(K, V) , which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
boolean |
AdvancedCache.replace(K key,
V oldValue,
V newValue,
Metadata metadata)
An overloaded form of
#replace(K, V, V) , which takes in an
instance of Metadata which can be used to provide metadata
information for the entry being stored, such as lifespan, version
of value...etc. |
Modifier and Type | Method and Description |
---|---|
boolean |
KeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
KeyFilterAsKeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
CompositeKeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
AbstractKeyValueFilterConverter.accept(K key,
V value,
Metadata metadata) |
boolean |
AcceptAllKeyValueFilter.accept(Object key,
Object value,
Metadata metadata) |
C |
Converter.convert(K key,
V value,
Metadata metadata) |
C |
AbstractKeyValueFilterConverter.convert(K key,
V value,
Metadata metadata) |
C |
KeyValueFilterConverter.filterAndConvert(K key,
V value,
Metadata metadata)
Will both filter the entry and if passed subsequently convert the value to a new value.
|
Modifier and Type | Method and Description |
---|---|
Void |
EntryView.WriteEntryView.set(V value,
Metadata metadata)
Set this value along with metadata object.
|
Modifier and Type | Interface and Description |
---|---|
interface |
InternalMetadata |
Modifier and Type | Class and Description |
---|---|
class |
EmbeddedMetadata
Metadata class for embedded caches.
|
Modifier and Type | Method and Description |
---|---|
static Metadata |
Metadatas.applyVersion(Metadata source,
Metadata target)
Applies version in source metadata to target metadata, if no version
in target metadata.
|
Metadata |
Metadata.Builder.build()
Build a metadata instance.
|
Metadata |
EmbeddedMetadata.Builder.build() |
Modifier and Type | Method and Description |
---|---|
static Metadata |
Metadatas.applyVersion(Metadata source,
Metadata target)
Applies version in source metadata to target metadata, if no version
in target metadata.
|
Metadata.Builder |
Metadata.Builder.merge(Metadata metadata)
Merges the given metadata information into the given builder.
|
Metadata.Builder |
EmbeddedMetadata.Builder.merge(Metadata metadata) |
static void |
Metadatas.updateMetadata(CacheEntry entry,
Metadata providedMetadata)
Set the
providedMetadata on the cache entry. |
Modifier and Type | Method and Description |
---|---|
Metadata |
CacheEntryEvent.getMetadata()
Retrieves the metadata associated with the entry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
KeyFilterAsCacheEventFilter.accept(K key,
Object oldValue,
Metadata oldMetadata,
Object newValue,
Metadata newMetadata,
EventType eventType) |
boolean |
CacheEventFilterAsKeyValueFilter.accept(K key,
V value,
Metadata metadata) |
boolean |
PostCacheEventFilter.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 |
CompositeCacheEventFilter.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 |
AbstractCacheEventFilterConverter.accept(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
C |
CacheEventConverterAsConverter.convert(K key,
V value,
Metadata metadata) |
C |
CacheEventConverter.convert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType)
Converts the given newValue into something different possibly.
|
C |
AbstractCacheEventFilterConverter.convert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType) |
C |
CacheEventFilterConverterAsKeyValueFilterConverter.filterAndConvert(K key,
V value,
Metadata metadata) |
C |
CacheEventFilterConverter.filterAndConvert(K key,
V oldValue,
Metadata oldMetadata,
V newValue,
Metadata newMetadata,
EventType eventType)
Will both filter the entry and if passed subsequently convert the value to a new value.
|
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.