Package | Description |
---|---|
org.infinispan.commons.api.functional |
Commons Functional API package
|
org.infinispan.commons.marshall |
Provides Infinispan-specific input and output streams, buffers and related utilities.
|
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. |
<R> CompletableFuture<R> |
FunctionalMap.ReadWriteMap.eval(K key,
V value,
BiFunction<V,EntryView.ReadWriteEntryView<K,V>,R> f)
Evaluate a read-write function, with a value 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. |
<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. |
<R> Traversable<R> |
FunctionalMap.ReadWriteMap.evalMany(Map<? extends K,? extends V> entries,
BiFunction<V,EntryView.ReadWriteEntryView<K,V>,R> f)
Evaluate a read-write
BiFunction , with a value 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. |
<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. |
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.