Interface CounterFunction<T extends Streamable>

Type Parameters:
T - T
All Superinterfaces:
Function<CounterView, T>, Streamable

public interface CounterFunction<T extends Streamable> extends Function<CounterView, T>, Streamable
A function to update AsyncCounter or SyncCounter.

The CounterView contains a view of the counter's value where this function is able to modify.

Since:
5.2
Author:
Pedro Ruivo
See Also: