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 interfaceExpose 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-onlyConsumeroperation with aEntryView.WriteEntryViewof the value associated with the key, and return aCompletableFuturewhich 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-onlyBiConsumeroperation, with an argument passed in and aEntryView.WriteEntryViewof the value associated with the key, and return aCompletableFuturewhich 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 implementSerializableFunctionalMap.WriteOnlyMap.evalAll(Consumer<EntryView.WriteEntryView<K, V>> f) Evaluate a write-onlyConsumeroperation with theEntryView.WriteEntryViewof the value associated with the key, for all existing keys in functional map, and returns aCompletableFuturethat 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-onlyBiConsumeroperation, with an argument passed in and aEntryView.WriteEntryViewof the value associated with the key, for each of the keys in the set passed in, and returns aCompletableFuturethat 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 implementSerializableFunctionalMap.WriteOnlyMap.evalMany(Set<? extends K> keys, Consumer<EntryView.WriteEntryView<K, V>> f) Evaluate a write-onlyConsumeroperation with theEntryView.WriteEntryViewof the value associated with the key, for each of the keys in the set passed in, and returns aCompletableFuturethat 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