Class JGroupsRaftCommandOptions.WriteBuilder

java.lang.Object
org.jgroups.raft.command.JGroupsRaftCommandOptions.WriteBuilder
Enclosing interface:
JGroupsRaftCommandOptions

public static final class JGroupsRaftCommandOptions.WriteBuilder extends Object
Builder for write command options.
Since:
2.0
Author:
José Bolina
  • Constructor Details

    • WriteBuilder

      public WriteBuilder()
  • Method Details

    • ignoreReturnValue

      public JGroupsRaftCommandOptions.WriteBuilder ignoreReturnValue(boolean ignore)
      Sets whether to ignore the return value of the write operation.
      Parameters:
      ignore - true to ignore return values, false otherwise
      Returns:
      this builder
    • build

      Builds the write command options.
      Returns:
      the configured write options