Package org.infinispan.marshall.core
Class MarshallableFunctions
- java.lang.Object
-
- org.infinispan.marshall.core.MarshallableFunctions
-
public final class MarshallableFunctions extends Object
-
-
Method Summary
-
-
-
Method Detail
-
setValueReturnPrevOrNull
public static <K,V> BiFunction<V,EntryView.ReadWriteEntryView<K,V>,V> 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,V>> setValueReturnView()
-
setValueMetasReturnView
public static <K,V> BiFunction<V,EntryView.ReadWriteEntryView<K,V>,EntryView.ReadWriteEntryView<K,V>> setValueMetasReturnView(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
public static <K,V> Function<EntryView.ReadWriteEntryView<K,V>,V> removeReturnPrevOrNull()
-
removeReturnBoolean
public static <K,V> Function<EntryView.ReadWriteEntryView<K,V>,Boolean> removeReturnBoolean()
-
removeIfValueEqualsReturnBoolean
public static <K,V> BiFunction<V,EntryView.ReadWriteEntryView<K,V>,Boolean> removeIfValueEqualsReturnBoolean()
-
setValueConsumer
public static <K,V> BiConsumer<V,EntryView.WriteEntryView<K,V>> setValueConsumer()
-
setValueMetasConsumer
public static <K,V> BiConsumer<V,EntryView.WriteEntryView<K,V>> setValueMetasConsumer(MetaParam.Writable... metas)
-
setInternalCacheValueConsumer
public static <K,V> BiConsumer<V,EntryView.WriteEntryView<K,V>> setInternalCacheValueConsumer()
-
removeConsumer
public static <K,V> Consumer<EntryView.WriteEntryView<K,V>> removeConsumer()
-
returnReadWriteFind
public static <K,V> Function<EntryView.ReadWriteEntryView<K,V>,Optional<V>> returnReadWriteFind()
-
returnReadWriteGet
public static <K,V> Function<EntryView.ReadWriteEntryView<K,V>,V> returnReadWriteGet()
-
returnReadWriteView
public static <K,V> Function<EntryView.ReadWriteEntryView<K,V>,EntryView.ReadWriteEntryView<K,V>> returnReadWriteView()
-
returnReadOnlyFindOrNull
public static <K,V> Function<EntryView.ReadEntryView<K,V>,V> returnReadOnlyFindOrNull()
-
returnReadOnlyFindIsPresent
public static <K,V> Function<EntryView.ReadEntryView<K,V>,Boolean> returnReadOnlyFindIsPresent()
-
identity
public static <T> Function<T,T> identity()
-
-