Package org.jgroups.blocks.atomic
Interface CounterFunction<T extends Streamable>
-
- All Superinterfaces:
java.util.function.Function<CounterView,T>
,Streamable
public interface CounterFunction<T extends Streamable> extends java.util.function.Function<CounterView,T>, Streamable
A function to updateAsyncCounter
orSyncCounter
. TheCounterView
contains a view of the counter's value where this function is able to modify.- Since:
- 5.2
- Author:
- Pedro Ruivo
- See Also:
CounterView
,Streamable
-
-
Method Summary
-
Methods inherited from interface org.jgroups.util.Streamable
readFrom, writeTo
-
-