Interface RaftSyncCounter

All Superinterfaces:
org.jgroups.blocks.atomic.BaseCounter, RaftCounter, org.jgroups.blocks.atomic.SyncCounter

public interface RaftSyncCounter extends org.jgroups.blocks.atomic.SyncCounter, 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.BaseCounter

    getName

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

    async, getLocal

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

    addAndGet, compareAndSet, compareAndSwap, decrementAndGet, get, incrementAndGet, set, update
  • Method Details

    • sync

      default RaftSyncCounter sync()
      Specified by:
      sync in interface org.jgroups.blocks.atomic.BaseCounter
      Specified by:
      sync in interface RaftCounter
      Specified by:
      sync in interface org.jgroups.blocks.atomic.SyncCounter
    • withOptions

      RaftSyncCounter 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