Class RequestOptions


  • public class RequestOptions
    extends java.lang.Object
    Class which captures a bunch of options relevant to remote method invocation or message sending
    Since:
    2.10
    Author:
    Bela Ban
    • Field Detail

      • 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 Detail

      • RequestOptions

        public RequestOptions()
      • 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)