Package org.hyperledger.fabric.client
Class CallOption
java.lang.Object
org.hyperledger.fabric.client.CallOption
Deprecated.
Options defining runtime behavior of a gRPC service invocation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CallOption
Deprecated.An absolute deadline.static CallOption
deadlineAfter
(long duration, TimeUnit unit) Deprecated.A deadline that is after the given duration from when the call is initiated.
-
Method Details
-
deadline
Deprecated.An absolute deadline.- Parameters:
deadline
- the deadline.- Returns:
- a call option.
-
deadlineAfter
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.
-
CallOptions
instead.