| Package | Description |
|---|---|
| org.infinispan.commands |
Commands that operate on the cache, either locally or remotely.
|
| org.infinispan.commands.functional | |
| org.infinispan.functional |
Functional API package
|
| org.infinispan.functional.impl | |
| org.infinispan.marshall.core |
| Modifier and Type | Method and Description |
|---|---|
BiConsumer<T,EntryView.WriteEntryView<K,V>> |
WriteOnlyKeyValueCommand.getBiConsumer() |
BiConsumer<T,EntryView.WriteEntryView<K,V>> |
WriteOnlyManyEntriesCommand.getBiConsumer() |
Consumer<EntryView.WriteEntryView<K,V>> |
WriteOnlyKeyCommand.getConsumer() |
Consumer<EntryView.WriteEntryView<K,V>> |
WriteOnlyManyCommand.getConsumer() |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EntryView.ReadWriteEntryView<K,V>
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.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
FunctionalMap.WriteOnlyMap.eval(K key,
Consumer<EntryView.WriteEntryView<K,V>> f)
Evaluate a write-only
Consumer operation with a
EntryView.WriteEntryView of the value associated with the key,
and return a CompletableFuture which will be
completed with the object returned by the operation. |
default CompletableFuture<Void> |
FunctionalMap.WriteOnlyMap.eval(K key,
SerializableConsumer<EntryView.WriteEntryView<K,V>> f)
Same as
FunctionalMap.WriteOnlyMap.eval(Object, Consumer) except that the function must also
implement Serializable |
<T> CompletableFuture<Void> |
FunctionalMap.WriteOnlyMap.eval(K key,
T argument,
BiConsumer<T,EntryView.WriteEntryView<K,V>> f)
Evaluate a write-only
BiConsumer operation, with an argument
passed in and a EntryView.WriteEntryView of the value associated with
the key, and return a CompletableFuture which will be
completed when the operation completes. |
default <T> CompletableFuture<Void> |
FunctionalMap.WriteOnlyMap.eval(K key,
T argument,
SerializableBiConsumer<T,EntryView.WriteEntryView<K,V>> f)
Same as
FunctionalMap.WriteOnlyMap.eval(Object, Object, BiConsumer) except that the function must also
implement Serializable |
CompletableFuture<Void> |
FunctionalMap.WriteOnlyMap.evalAll(Consumer<EntryView.WriteEntryView<K,V>> f)
Evaluate a write-only
Consumer operation with the
EntryView.WriteEntryView of the value associated with the key, for all
existing keys in functional map, and returns a CompletableFuture
that will be completed when the write-only operation has been executed
against all the entries. |
default CompletableFuture<Void> |
FunctionalMap.WriteOnlyMap.evalAll(SerializableConsumer<EntryView.WriteEntryView<K,V>> f)
Same as
FunctionalMap.WriteOnlyMap.evalAll(Consumer) except that the function must also
implement Serializable |
<T> CompletableFuture<Void> |
FunctionalMap.WriteOnlyMap.evalMany(Map<? extends K,? extends T> arguments,
BiConsumer<T,EntryView.WriteEntryView<K,V>> f)
Evaluate a write-only
BiConsumer operation, with an argument
passed in and a EntryView.WriteEntryView of the value associated with
the key, for each of the keys in the set passed in, and returns a
CompletableFuture 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,
SerializableBiConsumer<T,EntryView.WriteEntryView<K,V>> f)
Same as
FunctionalMap.WriteOnlyMap.evalMany(Map, BiConsumer) except that the function must also
implement Serializable |
CompletableFuture<Void> |
FunctionalMap.WriteOnlyMap.evalMany(Set<? extends K> keys,
Consumer<EntryView.WriteEntryView<K,V>> f)
Evaluate a write-only
Consumer operation with the
EntryView.WriteEntryView of the value associated with the key, for each
of the keys in the set passed in, and returns a
CompletableFuture 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,
SerializableConsumer<EntryView.WriteEntryView<K,V>> f)
Same as
FunctionalMap.WriteOnlyMap.evalMany(Set, Consumer) 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 |
|---|---|
static <K,V> EntryView.WriteEntryView<K,V> |
EntryViews.writeOnly(CacheEntry entry,
DataConversion valueDataConversion) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
WriteOnlyMapImpl.eval(K key,
Consumer<EntryView.WriteEntryView<K,V>> f) |
<T> CompletableFuture<Void> |
WriteOnlyMapImpl.eval(K key,
T argument,
BiConsumer<T,EntryView.WriteEntryView<K,V>> f) |
CompletableFuture<Void> |
WriteOnlyMapImpl.evalAll(Consumer<EntryView.WriteEntryView<K,V>> f) |
<T> CompletableFuture<Void> |
WriteOnlyMapImpl.evalMany(Map<? extends K,? extends T> arguments,
BiConsumer<T,EntryView.WriteEntryView<K,V>> f) |
CompletableFuture<Void> |
WriteOnlyMapImpl.evalMany(Set<? extends K> keys,
Consumer<EntryView.WriteEntryView<K,V>> f) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Consumer<EntryView.WriteEntryView<K,V>> |
MarshallableFunctions.removeConsumer() |
static <K,V> BiConsumer<V,EntryView.WriteEntryView<K,V>> |
MarshallableFunctions.setInternalCacheValueConsumer() |
static <K,V> BiConsumer<V,EntryView.WriteEntryView<K,V>> |
MarshallableFunctions.setValueConsumer() |
static <K,V> BiConsumer<V,EntryView.WriteEntryView<K,V>> |
MarshallableFunctions.setValueMetasConsumer(MetaParam.Writable... metas) |
Copyright © 2022 JBoss by Red Hat. All rights reserved.