Class MarshallableFunctions
java.lang.Object
org.infinispan.marshall.core.MarshallableFunctions
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Function
<T, T> identity()
static <K,
V> Consumer <EntryView.WriteEntryView<K, V>> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, Boolean> static <K,
V> Function <EntryView.ReadWriteEntryView<K, V>, Boolean> static <K,
V> Function <EntryView.ReadWriteEntryView<K, V>, V> static <K,
V> Function <EntryView.ReadEntryView<K, V>, Boolean> static <K,
V> Function <EntryView.ReadEntryView<K, V>, V> static <K,
V> Function <EntryView.ReadWriteEntryView<K, V>, Optional<V>> static <K,
V> Function <EntryView.ReadWriteEntryView<K, V>, V> static <K,
V> Function <EntryView.ReadWriteEntryView<K, V>, EntryView.ReadWriteEntryView<K, V>> static <K,
V> BiConsumer <V, EntryView.WriteEntryView<K, V>> static <K,
V> BiConsumer <V, EntryView.WriteEntryView<K, V>> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, Boolean> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, V> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, Boolean> setValueIfEqualsReturnBoolean
(V oldValue, MetaParam.Writable... metas) static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, Boolean> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, V> static <K,
V> BiConsumer <V, EntryView.WriteEntryView<K, V>> setValueMetasConsumer
(MetaParam.Writable... metas) static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, Boolean> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, V> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, Boolean> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, V> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, V> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, EntryView.ReadWriteEntryView<K, V>> setValueMetasReturnView
(MetaParam.Writable... metas) static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, V> static <K,
V> BiFunction <V, EntryView.ReadWriteEntryView<K, V>, EntryView.ReadWriteEntryView<K, V>>
-
Method Details
-
setValueReturnPrevOrNull
-
setValueMetasReturnPrevOrNull
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, V> setValueMetasReturnPrevOrNull(MetaParam.Writable... metas) -
setValueReturnView
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, EntryView.ReadWriteEntryView<K, setValueReturnView()V>> -
setValueMetasReturnView
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, EntryView.ReadWriteEntryView<K, setValueMetasReturnViewV>> (MetaParam.Writable... metas) -
setValueIfAbsentReturnPrevOrNull
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, V> setValueIfAbsentReturnPrevOrNull() -
setValueMetasIfAbsentReturnPrevOrNull
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, V> setValueMetasIfAbsentReturnPrevOrNull(MetaParam.Writable... metas) -
setValueIfAbsentReturnBoolean
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, Boolean> setValueIfAbsentReturnBoolean() -
setValueMetasIfAbsentReturnBoolean
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, Boolean> setValueMetasIfAbsentReturnBoolean(MetaParam.Writable... metas) -
setValueIfPresentReturnPrevOrNull
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, V> setValueIfPresentReturnPrevOrNull() -
setValueMetasIfPresentReturnPrevOrNull
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, V> setValueMetasIfPresentReturnPrevOrNull(MetaParam.Writable... metas) -
setValueIfPresentReturnBoolean
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, Boolean> setValueIfPresentReturnBoolean() -
setValueMetasIfPresentReturnBoolean
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, Boolean> setValueMetasIfPresentReturnBoolean(MetaParam.Writable... metas) -
setValueIfEqualsReturnBoolean
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, Boolean> setValueIfEqualsReturnBoolean(V oldValue, MetaParam.Writable... metas) -
removeReturnPrevOrNull
-
removeReturnBoolean
-
removeIfValueEqualsReturnBoolean
public static <K,V> BiFunction<V, EntryView.ReadWriteEntryView<K,V>, Boolean> removeIfValueEqualsReturnBoolean() -
setValueConsumer
-
setValueMetasConsumer
public static <K,V> BiConsumer<V, EntryView.WriteEntryView<K,V>> setValueMetasConsumer(MetaParam.Writable... metas) -
setInternalCacheValueConsumer
-
removeConsumer
-
returnReadWriteFind
-
returnReadWriteGet
-
returnReadWriteView
public static <K,V> Function<EntryView.ReadWriteEntryView<K,V>, EntryView.ReadWriteEntryView<K, returnReadWriteView()V>> -
returnReadOnlyFindOrNull
-
returnReadOnlyFindIsPresent
-
identity
-