Class Options

java.lang.Object
org.jgroups.raft.Options
All Implemented Interfaces:
org.jgroups.util.SizeStreamable, org.jgroups.util.Streamable

public class Options extends Object implements org.jgroups.util.SizeStreamable
Options to pass to Settable.setAsync(byte[], int, int) call
Since:
1.0.9
Author:
Bela Ban
  • Field Details

    • DEFAULT_OPTIONS

      public static final Options DEFAULT_OPTIONS
    • ignore_return_value

      protected boolean ignore_return_value
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • ignoreReturnValue

      public boolean ignoreReturnValue()
    • ignoreReturnValue

      public Options ignoreReturnValue(boolean ignore)
    • create

      public static Options create(boolean ignore_retval)
    • writeTo

      public void writeTo(DataOutput out) throws IOException
      Specified by:
      writeTo in interface org.jgroups.util.Streamable
      Throws:
      IOException
    • readFrom

      public void readFrom(DataInput in) throws IOException, ClassNotFoundException
      Specified by:
      readFrom in interface org.jgroups.util.Streamable
      Throws:
      IOException
      ClassNotFoundException
    • serializedSize

      public int serializedSize()
      Specified by:
      serializedSize in interface org.jgroups.util.SizeStreamable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object