Class RpcOptions


  • public class RpcOptions
    extends java.lang.Object
    Classes that wraps all the configuration parameters to configure a remote invocation.
    Since:
    5.3
    Author:
    Pedro Ruivo
    • Method Detail

      • timeout

        public long timeout()
        Returns:
        the timeout value to give up.
      • timeUnit

        public java.util.concurrent.TimeUnit timeUnit()
        Returns:
        the TimeUnit in which the timeout value is.
      • responseFilter

        public ResponseFilter responseFilter()
        Deprecated.
        Since 9.2, ignored by RpcManager.invokeCommand*().
        Returns:
        the ResponseFilter to be used. Default is null meaning waiting for all or none responses depending if the remote invocation is synchronous or asynchronous respectively.
      • responseMode

        @Deprecated
        public ResponseMode responseMode()
        Deprecated.
        Since 9.2, ignored by RpcManager.invokeCommand*().
        Returns:
        the ResponseMode to handle with the responses.
      • skipReplicationQueue

        @Deprecated
        public boolean skipReplicationQueue()
        Deprecated.
        Since 9.0, always returns false.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object