Package org.infinispan.api.sync
Interface SyncWeakCounter
public interface SyncWeakCounter
- Since:
- 14.0
-
Method Details
-
name
String name()Returns the name of this counter- Returns:
- the name of this counter
-
container
SyncContainer container()Return the container of this cache- Returns:
-
value
long value() -
increment
default void increment()Increments the counter. -
decrement
default void decrement()Decrements the counter. -
add
void add(long delta) Adds the given value to the new value.- Parameters:
delta
- the value to add.
-