Class RpcOptions

java.lang.Object
org.infinispan.remoting.rpc.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 Details

    • RpcOptions

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

    • 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.
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object