Class CallOption

java.lang.Object
org.hyperledger.fabric.client.CallOption

@Deprecated public final class CallOption extends Object
Deprecated.
Use gRPC CallOptions instead.
Options defining runtime behavior of a gRPC service invocation.
  • Method Details

    • deadline

      public static CallOption deadline(Deadline deadline)
      Deprecated.
      An absolute deadline.
      Parameters:
      deadline - the deadline.
      Returns:
      a call option.
    • deadlineAfter

      public static CallOption deadlineAfter(long duration, TimeUnit unit)
      Deprecated.
      A deadline that is after the given duration from when the call is initiated.
      Parameters:
      duration - a time duration.
      unit - units for the time duration.
      Returns:
      a call option.