Class JGroupsRaftWriteCommandOptions.WriteImpl

java.lang.Object
org.jgroups.raft.command.JGroupsRaftWriteCommandOptions.WriteImpl
All Implemented Interfaces:
JGroupsRaftCommandOptions, JGroupsRaftWriteCommandOptions
Enclosing interface:
JGroupsRaftWriteCommandOptions

public static final class JGroupsRaftWriteCommandOptions.WriteImpl extends Object implements JGroupsRaftWriteCommandOptions
Since:
2.0
Author:
José Bolina
  • Field Details

  • Method Details

    • ignoreReturnValue

      public boolean ignoreReturnValue()
      Description copied from interface: JGroupsRaftCommandOptions
      Whether to ignore the return value of the command execution.

      When true, the response will not be serialized and returned to the caller, which can improve performance for fire-and-forget operations.

      Specified by:
      ignoreReturnValue in interface JGroupsRaftCommandOptions
      Returns:
      true if return value should be ignored, false otherwise
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object