Uses of Interface
org.infinispan.functional.EntryView.WriteEntryView
Packages that use EntryView.WriteEntryView
-
Uses of EntryView.WriteEntryView in org.infinispan.functional
Subinterfaces of EntryView.WriteEntryView in org.infinispan.functionalModifier 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.Method parameters in org.infinispan.functional with type arguments of type EntryView.WriteEntryViewModifier 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, org.infinispan.util.function.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, org.infinispan.util.function.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
(org.infinispan.util.function.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, org.infinispan.util.function.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, org.infinispan.util.function.SerializableConsumer<EntryView.WriteEntryView<K, V>> f) Same asFunctionalMap.WriteOnlyMap.evalMany(Set, Consumer)
except that the function must also implementSerializable