- All Superinterfaces:
org.jgroups.blocks.atomic.AsyncCounter,org.jgroups.blocks.atomic.BaseCounter,RaftCounter
- All Known Implementing Classes:
AsyncCounterImpl
TODO! document this
-
Method Summary
Modifier and TypeMethodDescriptiondefault RaftAsyncCounterasync()withOptions(Options opts) Returns an instance of a counter with the given optionsMethods inherited from interface org.jgroups.blocks.atomic.AsyncCounter
addAndGet, compareAndSet, compareAndSwap, decrementAndGet, get, incrementAndGet, set, updateMethods inherited from interface org.jgroups.blocks.atomic.BaseCounter
getNameMethods inherited from interface org.jgroups.raft.blocks.RaftCounter
getLocal, sync
-
Method Details
-
async
- Specified by:
asyncin interfaceorg.jgroups.blocks.atomic.AsyncCounter- Specified by:
asyncin interfaceorg.jgroups.blocks.atomic.BaseCounter- Specified by:
asyncin interfaceRaftCounter
-
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
-