Uses of Interface
org.infinispan.functional.EntryView.WriteEntryView
Package
Description
Commands that operate on the cache, either locally or remotely.
Functional API package
-
Uses of EntryView.WriteEntryView in org.infinispan.commands
Modifier and TypeMethodDescription<K,
V> org.infinispan.commands.functional.WriteOnlyKeyCommand <K, V> CommandsFactory.buildWriteOnlyKeyCommand
(Object key, Consumer<EntryView.WriteEntryView<K, V>> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V> org.infinispan.commands.functional.WriteOnlyKeyCommand <K, V> CommandsFactoryImpl.buildWriteOnlyKeyCommand
(Object key, Consumer<EntryView.WriteEntryView<K, V>> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, T> org.infinispan.commands.functional.WriteOnlyKeyValueCommand <K, V, T> CommandsFactory.buildWriteOnlyKeyValueCommand
(Object key, Object argument, BiConsumer<T, EntryView.WriteEntryView<K, V>> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, T> org.infinispan.commands.functional.WriteOnlyKeyValueCommand <K, V, T> CommandsFactoryImpl.buildWriteOnlyKeyValueCommand
(Object key, Object argument, BiConsumer<T, EntryView.WriteEntryView<K, V>> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V> org.infinispan.commands.functional.WriteOnlyManyCommand <K, V> CommandsFactory.buildWriteOnlyManyCommand
(Collection<?> keys, Consumer<EntryView.WriteEntryView<K, V>> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V> org.infinispan.commands.functional.WriteOnlyManyCommand <K, V> CommandsFactoryImpl.buildWriteOnlyManyCommand
(Collection<?> keys, Consumer<EntryView.WriteEntryView<K, V>> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, T> org.infinispan.commands.functional.WriteOnlyManyEntriesCommand <K, V, T> CommandsFactory.buildWriteOnlyManyEntriesCommand
(Map<?, ?> arguments, BiConsumer<T, EntryView.WriteEntryView<K, V>> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, T> org.infinispan.commands.functional.WriteOnlyManyEntriesCommand <K, V, T> CommandsFactoryImpl.buildWriteOnlyManyEntriesCommand
(Map<?, ?> arguments, BiConsumer<T, EntryView.WriteEntryView<K, V>> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) -
Uses of EntryView.WriteEntryView in org.infinispan.functional
Modifier and TypeInterfaceDescriptionstatic interface
Expose information about a cache entry potentially associated with a key in the functional map, and allows that cache entry to be written with new value and/or new metadata parameters.Modifier and TypeMethodDescriptionEvaluate a write-onlyConsumer
operation with aEntryView.WriteEntryView
of the value associated with the key, and return aCompletableFuture
which will be completed with the object returned by the operation.default CompletableFuture
<Void> FunctionalMap.WriteOnlyMap.eval
(K key, SerializableConsumer<EntryView.WriteEntryView<K, V>> f) Same asFunctionalMap.WriteOnlyMap.eval(Object, Consumer)
except that the function must also implementSerializable
<T> CompletableFuture
<Void> FunctionalMap.WriteOnlyMap.eval
(K key, T argument, BiConsumer<T, EntryView.WriteEntryView<K, V>> f) Evaluate a write-onlyBiConsumer
operation, with an argument passed in and aEntryView.WriteEntryView
of the value associated with the key, and return aCompletableFuture
which will be completed when the operation completes.default <T> CompletableFuture
<Void> FunctionalMap.WriteOnlyMap.eval
(K key, T argument, SerializableBiConsumer<T, EntryView.WriteEntryView<K, V>> f) Same asFunctionalMap.WriteOnlyMap.eval(Object, Object, BiConsumer)
except that the function must also implementSerializable
FunctionalMap.WriteOnlyMap.evalAll
(Consumer<EntryView.WriteEntryView<K, V>> f) Evaluate a write-onlyConsumer
operation with theEntryView.WriteEntryView
of the value associated with the key, for all existing keys in functional map, and returns aCompletableFuture
that will be completed when the write-only operation has been executed against all the entries.default CompletableFuture
<Void> FunctionalMap.WriteOnlyMap.evalAll
(SerializableConsumer<EntryView.WriteEntryView<K, V>> f) Same asFunctionalMap.WriteOnlyMap.evalAll(Consumer)
except that the function must also implementSerializable
<T> CompletableFuture
<Void> FunctionalMap.WriteOnlyMap.evalMany
(Map<? extends K, ? extends T> arguments, BiConsumer<T, EntryView.WriteEntryView<K, V>> f) Evaluate a write-onlyBiConsumer
operation, with an argument passed in and aEntryView.WriteEntryView
of the value associated with the key, for each of the keys in the set passed in, and returns aCompletableFuture
that will be completed when the write-only operation has been executed against all the entries.default <T> CompletableFuture
<Void> FunctionalMap.WriteOnlyMap.evalMany
(Map<? extends K, ? extends T> arguments, SerializableBiConsumer<T, EntryView.WriteEntryView<K, V>> f) Same asFunctionalMap.WriteOnlyMap.evalMany(Map, BiConsumer)
except that the function must also implementSerializable
FunctionalMap.WriteOnlyMap.evalMany
(Set<? extends K> keys, Consumer<EntryView.WriteEntryView<K, V>> f) Evaluate a write-onlyConsumer
operation with theEntryView.WriteEntryView
of the value associated with the key, for each of the keys in the set passed in, and returns aCompletableFuture
that will be completed when the write-only operation has been executed against all the entries.default CompletableFuture
<Void> FunctionalMap.WriteOnlyMap.evalMany
(Set<? extends K> keys, SerializableConsumer<EntryView.WriteEntryView<K, V>> f) Same asFunctionalMap.WriteOnlyMap.evalMany(Set, Consumer)
except that the function must also implementSerializable
-
Uses of EntryView.WriteEntryView in org.infinispan.functional.impl
Modifier and TypeMethodDescriptionstatic <K,
V> EntryView.WriteEntryView <K, V> EntryViews.writeOnly
(CacheEntry entry, DataConversion valueDataConversion) Modifier and TypeMethodDescription<T> CompletableFuture
<Void> SimpleWriteOnlyMapImpl.eval
(K key, T argument, BiConsumer<T, EntryView.WriteEntryView<K, V>> f) <T> CompletableFuture
<Void> WriteOnlyMapImpl.eval
(K key, T argument, BiConsumer<T, EntryView.WriteEntryView<K, V>> f) SimpleWriteOnlyMapImpl.evalAll
(Consumer<EntryView.WriteEntryView<K, V>> f) WriteOnlyMapImpl.evalAll
(Consumer<EntryView.WriteEntryView<K, V>> f) <T> CompletableFuture
<Void> SimpleWriteOnlyMapImpl.evalMany
(Map<? extends K, ? extends T> arguments, BiConsumer<T, EntryView.WriteEntryView<K, V>> f) <T> CompletableFuture
<Void> WriteOnlyMapImpl.evalMany
(Map<? extends K, ? extends T> arguments, BiConsumer<T, EntryView.WriteEntryView<K, V>> f) -
Uses of EntryView.WriteEntryView in org.infinispan.marshall.core
Modifier and TypeMethodDescriptionstatic <K,
V> Consumer <EntryView.WriteEntryView<K, V>> MarshallableFunctions.removeConsumer()
static <K,
V> BiConsumer <V, EntryView.WriteEntryView<K, V>> MarshallableFunctions.setInternalCacheValueConsumer()
static <K,
V> BiConsumer <V, EntryView.WriteEntryView<K, V>> MarshallableFunctions.setValueConsumer()
static <K,
V> BiConsumer <V, EntryView.WriteEntryView<K, V>> MarshallableFunctions.setValueMetasConsumer
(MetaParam.Writable... metas)