Class RpcOptions


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

      • RpcOptions

        public RpcOptions​(org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder,
                          long timeout,
                          TimeUnit unit)
        Since:
        9.2
    • Method Detail

      • timeout

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

        public TimeUnit timeUnit()
        Returns:
        the TimeUnit in which the timeout value is.
      • deliverOrder

        public org.infinispan.remoting.inboundhandler.DeliverOrder deliverOrder()
        Returns:
        the DeliverOrder.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object