Package org.infinispan.counter.api
Interface SyncWeakCounter
-
public interface SyncWeakCounter
A synchronousWeakCounter
.- Since:
- 9.2
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
add(long delta)
default void
decrement()
CounterConfiguration
getConfiguration()
String
getName()
long
getValue()
default void
increment()
void
remove()
void
reset()
-
-
-
Method Detail
-
getName
String getName()
- See Also:
WeakCounter.getName()
-
getValue
long getValue()
- See Also:
WeakCounter.getValue()
-
increment
default void increment()
- See Also:
WeakCounter.increment()
-
decrement
default void decrement()
- See Also:
WeakCounter.decrement()
-
add
void add(long delta)
- See Also:
WeakCounter.add(long)
-
reset
void reset()
- See Also:
WeakCounter.reset()
-
getConfiguration
CounterConfiguration getConfiguration()
- See Also:
WeakCounter.getConfiguration()
-
remove
void remove()
- See Also:
WeakCounter.remove()
-
-