Class ReplaceConditionally<K,V>
- java.lang.Object
-
- org.infinispan.jcache.embedded.functions.ReplaceConditionally<K,V>
-
- All Implemented Interfaces:
BiFunction<V,org.infinispan.functional.EntryView.ReadWriteEntryView<K,V>,Boolean>
,org.infinispan.commands.functional.functions.InjectableComponent
public class ReplaceConditionally<K,V> extends Object implements BiFunction<V,org.infinispan.functional.EntryView.ReadWriteEntryView<K,V>,Boolean>, org.infinispan.commands.functional.functions.InjectableComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReplaceConditionally.Externalizer
-
Constructor Summary
Constructors Constructor Description ReplaceConditionally(V oldValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
apply(V v, org.infinispan.functional.EntryView.ReadWriteEntryView<K,V> view)
void
inject(org.infinispan.factories.ComponentRegistry registry)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Constructor Detail
-
ReplaceConditionally
public ReplaceConditionally(V oldValue)
-
-