- All Superinterfaces:
org.jgroups.blocks.atomic.BaseCounter,RaftCounter,org.jgroups.blocks.atomic.SyncCounter
TODO! document this
-
Method Summary
Modifier and TypeMethodDescriptiondefault RaftSyncCountersync()withOptions(Options opts) Returns an instance of a counter with the given optionsMethods inherited from interface org.jgroups.blocks.atomic.BaseCounter
getNameMethods inherited from interface org.jgroups.raft.blocks.RaftCounter
async, getLocalMethods inherited from interface org.jgroups.blocks.atomic.SyncCounter
addAndGet, compareAndSet, compareAndSwap, decrementAndGet, get, incrementAndGet, set, update
-
Method Details
-
sync
- Specified by:
syncin interfaceorg.jgroups.blocks.atomic.BaseCounter- Specified by:
syncin interfaceRaftCounter- Specified by:
syncin interfaceorg.jgroups.blocks.atomic.SyncCounter
-
withOptions
Description copied from interface:RaftCounterReturns an instance of a counter with the given options- Specified by:
withOptionsin interfaceRaftCounter- Parameters:
opts- The options- Returns:
- The counter of the given type
-