Class RequestOptions

java.lang.Object
org.jgroups.blocks.RequestOptions

public class RequestOptions extends Object
Class which captures a bunch of options relevant to remote method invocation or message sending
Since:
2.10
  • Field Details

    • mode

      protected ResponseMode mode
      The mode of a request. Defined in ResponseMode e.g. GET_NONE, GET_ALL
    • timeout

      protected long timeout
      The max time (in ms) for a blocking call. 0 blocks until all responses have been received (if mode = GET_ALL)
    • use_anycasting

      protected boolean use_anycasting
      Turns on anycasting; this results in multiple unicasts rather than a multicast for group calls
    • rsp_filter

      protected RspFilter rsp_filter
      Allows for filtering of responses
    • flags

      protected short flags
      The flags set in the message in which a request is sent
    • transient_flags

      protected short transient_flags
    • exclusion_list

      protected Address[] exclusion_list
      A list of members which should be excluded from a call
  • Constructor Details

    • RequestOptions

      public RequestOptions()
    • RequestOptions

      public RequestOptions(ResponseMode mode, long timeout, boolean use_anycasting, RspFilter rsp_filter, Message.Flag... flags)
    • RequestOptions

      public RequestOptions(ResponseMode mode, long timeout, boolean use_anycasting, RspFilter rsp_filter, short flags)
    • RequestOptions

      public RequestOptions(ResponseMode mode, long timeout, boolean use_anycasting, RspFilter rsp_filter)
    • RequestOptions

      public RequestOptions(ResponseMode mode, long timeout)
    • RequestOptions

      public RequestOptions(ResponseMode mode, long timeout, boolean use_anycasting)
    • RequestOptions

      public RequestOptions(RequestOptions opts)
  • Method Details