Package | Description |
---|---|
org.infinispan.commands |
Commands that operate on the cache, either locally or remotely.
|
org.infinispan.commands.functional | |
org.infinispan.commands.functional.functions | |
org.infinispan.functional |
Functional API package
|
org.infinispan.functional.impl | |
org.infinispan.marshall.core |
Modifier and Type | Method and Description |
---|---|
BiFunction<T,EntryView.ReadWriteEntryView<K,V>,R> |
ReadWriteKeyValueCommand.getBiFunction() |
BiFunction<T,EntryView.ReadWriteEntryView<K,V>,R> |
ReadWriteManyEntriesCommand.getBiFunction() |
Function<EntryView.ReadWriteEntryView<K,V>,R> |
ReadWriteKeyCommand.getFunction() |
Function<EntryView.ReadWriteEntryView<K,V>,R> |
ReadWriteManyCommand.getFunction() |
Modifier and Type | Method and Description |
---|---|
R |
Mutation.apply(EntryView.ReadWriteEntryView<K,V> view)
Mutate the view
|
Modifier and Type | Method and Description |
---|---|
V |
MergeFunction.apply(EntryView.ReadWriteEntryView<K,V> entry) |
Modifier and Type | Method and Description |
---|---|
<R> CompletableFuture<R> |
FunctionalMap.ReadWriteMap.eval(K key,
Function<EntryView.ReadWriteEntryView<K,V>,R> f)
Evaluate a read-write function on the value and metadata associated
with the key and return a
CompletableFuture with the return
type of the function. |
default <R> CompletableFuture<R> |
FunctionalMap.ReadWriteMap.eval(K key,
SerializableFunction<EntryView.ReadWriteEntryView<K,V>,R> f)
Same as
FunctionalMap.ReadWriteMap.eval(Object, Function) except that the function must also
implement Serializable |
<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 a
EntryView.WriteEntryView of the value associated with the key, and
return a CompletableFuture 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 as
FunctionalMap.ReadWriteMap.eval(Object, Object, BiFunction) except that the function must also
implement Serializable |
<R> Traversable<R> |
FunctionalMap.ReadWriteMap.evalAll(Function<EntryView.ReadWriteEntryView<K,V>,R> f)
Evaluate a read-write
Function operation with the
EntryView.ReadWriteEntryView of the value associated with the key, for all
existing keys, and returns a Traversable to navigate each of
the Function invocation returns. |
default <R> Traversable<R> |
FunctionalMap.ReadWriteMap.evalAll(SerializableFunction<EntryView.ReadWriteEntryView<K,V>,R> f)
Same as
FunctionalMap.ReadWriteMap.evalAll(Function) except that the function must also
implement Serializable |
<T,R> Traversable<R> |
FunctionalMap.ReadWriteMap.evalMany(Map<? extends K,? extends T> arguments,
BiFunction<T,EntryView.ReadWriteEntryView<K,V>,R> f)
Evaluate a read-write
BiFunction , with an argument passed in and
a EntryView.ReadWriteEntryView of the value associated with
the key, for each of the keys in the set passed in, and
returns an Traversable to navigate each of the
BiFunction 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 as
FunctionalMap.ReadWriteMap.evalMany(Map, BiFunction) except that the function must also
implement Serializable |
<R> Traversable<R> |
FunctionalMap.ReadWriteMap.evalMany(Set<? extends K> keys,
Function<EntryView.ReadWriteEntryView<K,V>,R> f)
Evaluate a read-write
Function operation with the
EntryView.ReadWriteEntryView of the value associated with the key, for each
of the keys in the set passed in, and returns a Traversable
to navigate each of the Function invocation returns. |
default <R> Traversable<R> |
FunctionalMap.ReadWriteMap.evalMany(Set<? extends K> keys,
SerializableFunction<EntryView.ReadWriteEntryView<K,V>,R> f)
Same as
FunctionalMap.ReadWriteMap.evalMany(Set, Function) except that the function must also
implement Serializable |
Modifier and Type | Interface and Description |
---|---|
static interface |
EntryViews.AccessLoggingReadWriteView<K,V> |
Modifier and Type | Method and Description |
---|---|
<R> CompletableFuture<R> |
ReadWriteMapImpl.eval(K key,
Function<EntryView.ReadWriteEntryView<K,V>,R> f) |
<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> |
ReadWriteMapImpl.evalMany(Set<? extends K> keys,
Function<EntryView.ReadWriteEntryView<K,V>,R> f) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.