Uses of Interface
org.infinispan.functional.EntryView.ReadWriteEntryView
Package
Description
Commands that operate on the cache, either locally or remotely.
Functional API package
-
Uses of EntryView.ReadWriteEntryView in org.infinispan.commands
Modifier and TypeMethodDescription<K,
V, R> org.infinispan.commands.functional.ReadWriteKeyCommand<K, V, R> CommandsFactory.buildReadWriteKeyCommand
(Object key, Function<EntryView.ReadWriteEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, R> org.infinispan.commands.functional.ReadWriteKeyCommand<K, V, R> CommandsFactoryImpl.buildReadWriteKeyCommand
(Object key, Function<EntryView.ReadWriteEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, T, R> org.infinispan.commands.functional.ReadWriteKeyValueCommand<K, V, T, R> CommandsFactory.buildReadWriteKeyValueCommand
(Object key, Object argument, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, T, R> org.infinispan.commands.functional.ReadWriteKeyValueCommand<K, V, T, R> CommandsFactoryImpl.buildReadWriteKeyValueCommand
(Object key, Object argument, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, R> org.infinispan.commands.functional.ReadWriteManyCommand<K, V, R> CommandsFactory.buildReadWriteManyCommand
(Collection<?> keys, Function<EntryView.ReadWriteEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, R> org.infinispan.commands.functional.ReadWriteManyCommand<K, V, R> CommandsFactoryImpl.buildReadWriteManyCommand
(Collection<?> keys, Function<EntryView.ReadWriteEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, T, R> org.infinispan.commands.functional.ReadWriteManyEntriesCommand<K, V, T, R> CommandsFactory.buildReadWriteManyEntriesCommand
(Map<?, ?> entries, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,
V, T, R> org.infinispan.commands.functional.ReadWriteManyEntriesCommand<K, V, T, R> CommandsFactoryImpl.buildReadWriteManyEntriesCommand
(Map<?, ?> entries, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) -
Uses of EntryView.ReadWriteEntryView in org.infinispan.functional
Modifier and TypeMethodDescription<R> CompletableFuture<R>
Evaluate a read-write function on the value and metadata associated with the key and return aCompletableFuture
with the return type of the function.default <R> CompletableFuture<R>
FunctionalMap.ReadWriteMap.eval
(K key, SerializableFunction<EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.eval(Object, Function)
except that the function must also implementSerializable
<T,
R> CompletableFuture<R> FunctionalMap.ReadWriteMap.eval
(K key, T argument, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) Evaluate a read-write function, with an argument passed in and aEntryView.WriteEntryView
of the value associated with the key, and return aCompletableFuture
which will be completed with the returned value by the function.default <T,
R> CompletableFuture<R> FunctionalMap.ReadWriteMap.eval
(K key, T argument, SerializableBiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.eval(Object, Object, BiFunction)
except that the function must also implementSerializable
<R> Traversable<R>
FunctionalMap.ReadWriteMap.evalAll
(Function<EntryView.ReadWriteEntryView<K, V>, R> f) Evaluate a read-writeFunction
operation with theEntryView.ReadWriteEntryView
of the value associated with the key, for all existing keys, and returns aTraversable
to navigate each of theFunction
invocation returns.default <R> Traversable<R>
FunctionalMap.ReadWriteMap.evalAll
(SerializableFunction<EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.evalAll(Function)
except that the function must also implementSerializable
<T,
R> Traversable<R> FunctionalMap.ReadWriteMap.evalMany
(Map<? extends K, ? extends T> arguments, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) Evaluate a read-writeBiFunction
, with an argument passed in and aEntryView.ReadWriteEntryView
of the value associated with the key, for each of the keys in the set passed in, and returns anTraversable
to navigate each of theBiFunction
invocation returns.default <T,
R> Traversable<R> FunctionalMap.ReadWriteMap.evalMany
(Map<? extends K, ? extends T> arguments, SerializableBiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.evalMany(Map, BiFunction)
except that the function must also implementSerializable
<R> Traversable<R>
FunctionalMap.ReadWriteMap.evalMany
(Set<? extends K> keys, Function<EntryView.ReadWriteEntryView<K, V>, R> f) Evaluate a read-writeFunction
operation with theEntryView.ReadWriteEntryView
of the value associated with the key, for each of the keys in the set passed in, and returns aTraversable
to navigate each of theFunction
invocation returns.default <R> Traversable<R>
FunctionalMap.ReadWriteMap.evalMany
(Set<? extends K> keys, SerializableFunction<EntryView.ReadWriteEntryView<K, V>, R> f) Same asFunctionalMap.ReadWriteMap.evalMany(Set, Function)
except that the function must also implementSerializable
-
Uses of EntryView.ReadWriteEntryView in org.infinispan.functional.impl
Modifier and TypeMethodDescription<R> CompletableFuture<R>
<T,
R> CompletableFuture<R> ReadWriteMapImpl.eval
(K key, T argument, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) <R> Traversable<R>
ReadWriteMapImpl.evalAll
(Function<EntryView.ReadWriteEntryView<K, V>, R> f) <T,
R> Traversable<R> ReadWriteMapImpl.evalMany
(Map<? extends K, ? extends T> arguments, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f) <R> Traversable<R>
-
Uses of EntryView.ReadWriteEntryView in org.infinispan.marshall.core
Modifier and TypeMethodDescriptionstatic <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, Boolean> MarshallableFunctions.removeIfValueEqualsReturnBoolean()
static <K,
V> Function<EntryView.ReadWriteEntryView<K, V>, Boolean> MarshallableFunctions.removeReturnBoolean()
static <K,
V> Function<EntryView.ReadWriteEntryView<K, V>, V> MarshallableFunctions.removeReturnPrevOrNull()
static <K,
V> Function<EntryView.ReadWriteEntryView<K, V>, Optional<V>> MarshallableFunctions.returnReadWriteFind()
static <K,
V> Function<EntryView.ReadWriteEntryView<K, V>, V> MarshallableFunctions.returnReadWriteGet()
static <K,
V> Function<EntryView.ReadWriteEntryView<K, V>, EntryView.ReadWriteEntryView<K, V>> MarshallableFunctions.returnReadWriteView()
static <K,
V> Function<EntryView.ReadWriteEntryView<K, V>, EntryView.ReadWriteEntryView<K, V>> MarshallableFunctions.returnReadWriteView()
static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, Boolean> MarshallableFunctions.setValueIfAbsentReturnBoolean()
static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, V> MarshallableFunctions.setValueIfAbsentReturnPrevOrNull()
static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, Boolean> MarshallableFunctions.setValueIfEqualsReturnBoolean
(V oldValue, MetaParam.Writable... metas) static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, Boolean> MarshallableFunctions.setValueIfPresentReturnBoolean()
static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, V> MarshallableFunctions.setValueIfPresentReturnPrevOrNull()
static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, Boolean> MarshallableFunctions.setValueMetasIfAbsentReturnBoolean
(MetaParam.Writable... metas) static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, V> MarshallableFunctions.setValueMetasIfAbsentReturnPrevOrNull
(MetaParam.Writable... metas) static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, Boolean> MarshallableFunctions.setValueMetasIfPresentReturnBoolean
(MetaParam.Writable... metas) static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, V> MarshallableFunctions.setValueMetasIfPresentReturnPrevOrNull
(MetaParam.Writable... metas) static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, V> MarshallableFunctions.setValueMetasReturnPrevOrNull
(MetaParam.Writable... metas) static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, EntryView.ReadWriteEntryView<K, V>> MarshallableFunctions.setValueMetasReturnView
(MetaParam.Writable... metas) static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, EntryView.ReadWriteEntryView<K, V>> MarshallableFunctions.setValueMetasReturnView
(MetaParam.Writable... metas) static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, V> MarshallableFunctions.setValueReturnPrevOrNull()
static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, EntryView.ReadWriteEntryView<K, V>> MarshallableFunctions.setValueReturnView()
static <K,
V> BiFunction<V, EntryView.ReadWriteEntryView<K, V>, EntryView.ReadWriteEntryView<K, V>> MarshallableFunctions.setValueReturnView()
-
Uses of EntryView.ReadWriteEntryView in org.infinispan.server.hotrod.tx.table.functions
Modifier and TypeMethodDescriptionConditionalMarkAsRollbackFunction.apply
(EntryView.ReadWriteEntryView<CacheXid, TxState> view) CreateStateFunction.apply
(EntryView.ReadWriteEntryView<CacheXid, TxState> view) PreparingDecisionFunction.apply
(EntryView.ReadWriteEntryView<CacheXid, TxState> view) SetCompletedTransactionFunction.apply
(EntryView.ReadWriteEntryView<CacheXid, TxState> view) SetDecisionFunction.apply
(EntryView.ReadWriteEntryView<CacheXid, TxState> view) SetPreparedFunction.apply
(EntryView.ReadWriteEntryView<CacheXid, TxState> view)