Interface RaftAsyncCounter

All Superinterfaces:
org.jgroups.blocks.atomic.AsyncCounter, org.jgroups.blocks.atomic.BaseCounter, RaftCounter
All Known Implementing Classes:
AsyncCounterImpl

public interface RaftAsyncCounter extends org.jgroups.blocks.atomic.AsyncCounter, RaftCounter
TODO! document this
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns an instance of a counter with the given options

    Methods inherited from interface org.jgroups.blocks.atomic.AsyncCounter

    addAndGet, compareAndSet, compareAndSwap, decrementAndGet, get, incrementAndGet, set, update

    Methods inherited from interface org.jgroups.blocks.atomic.BaseCounter

    getName

    Methods inherited from interface org.jgroups.raft.blocks.RaftCounter

    getLocal, sync
  • Method Details

    • async

      default RaftAsyncCounter async()
      Specified by:
      async in interface org.jgroups.blocks.atomic.AsyncCounter
      Specified by:
      async in interface org.jgroups.blocks.atomic.BaseCounter
      Specified by:
      async in interface RaftCounter
    • withOptions

      RaftAsyncCounter withOptions(Options opts)
      Description copied from interface: RaftCounter
      Returns an instance of a counter with the given options
      Specified by:
      withOptions in interface RaftCounter
      Parameters:
      opts - The options
      Returns:
      The counter of the given type