Class MergeFunction<K,V>
- java.lang.Object
-
- org.infinispan.commands.functional.functions.MergeFunction<K,V>
-
- All Implemented Interfaces:
Serializable
,Function<EntryView.ReadWriteEntryView<K,V>,V>
,InjectableComponent
public class MergeFunction<K,V> extends Object implements Function<EntryView.ReadWriteEntryView<K,V>,V>, InjectableComponent, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MergeFunction.Externalizer
-
Constructor Summary
Constructors Constructor Description MergeFunction(V value, BiFunction<? super V,? super V,? extends V> remappingFunction, Metadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
apply(EntryView.ReadWriteEntryView<K,V> entry)
void
inject(ComponentRegistry registry)
-
-
-
Method Detail
-
apply
public V apply(EntryView.ReadWriteEntryView<K,V> entry)
-
inject
public void inject(ComponentRegistry registry)
- Specified by:
inject
in interfaceInjectableComponent
-
-