Package org.infinispan.counter.api
Interface SyncStrongCounter
-
public interface SyncStrongCounterA synchronousStrongCounter.- Since:
- 9.2
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description longaddAndGet(long delta)default booleancompareAndSet(long expect, long update)longcompareAndSwap(long expect, long update)default longdecrementAndGet()CounterConfigurationgetConfiguration()StringgetName()longgetValue()default longincrementAndGet()voidremove()voidreset()
-
-
-
Method Detail
-
incrementAndGet
default long incrementAndGet()
- See Also:
StrongCounter.incrementAndGet()
-
decrementAndGet
default long decrementAndGet()
- See Also:
StrongCounter.decrementAndGet()
-
addAndGet
long addAndGet(long delta)
- See Also:
StrongCounter.addAndGet(long)
-
reset
void reset()
- See Also:
StrongCounter.reset()
-
getValue
long getValue()
- See Also:
StrongCounter.decrementAndGet()
-
compareAndSet
default boolean compareAndSet(long expect, long update)- See Also:
StrongCounter.compareAndSet(long, long)
-
compareAndSwap
long compareAndSwap(long expect, long update)- See Also:
StrongCounter.compareAndSwap(long, long)
-
getName
String getName()
- See Also:
StrongCounter.getName()
-
getConfiguration
CounterConfiguration getConfiguration()
- See Also:
StrongCounter.getConfiguration()
-
remove
void remove()
- See Also:
StrongCounter.remove()
-
-