Class RequestTable.Entry<T>

java.lang.Object
org.jgroups.raft.util.RequestTable.Entry<T>
Enclosing class:
RequestTable<T>

public static class RequestTable.Entry<T> extends Object
  • Field Details

    • client_future

      protected final CompletableFuture<byte[]> client_future
    • votes

      protected final Set<T> votes
    • opts

      protected final Options opts
    • committed

      protected boolean committed
  • Constructor Details

  • Method Details

    • options

      public Options options()
    • add

      public boolean add(T vote, Supplier<Integer> majority)
    • notify

      public void notify(byte[] result)
    • notify

      public void notify(Throwable t)
    • commit

      public boolean commit()
    • toString

      public String toString()
      Overrides:
      toString in class Object