Modifier and Type | Field and Description |
---|---|
static CallOptions.Key<Boolean> |
ClientStreamTracer.NAME_RESOLUTION_DELAYED
The call was delayed due to waiting for name resolution result.
|
Modifier and Type | Method and Description |
---|---|
static <T> CallOptions.Key<T> |
CallOptions.Key.create(String debugString)
Factory method for creating instances of
CallOptions.Key . |
static <T> CallOptions.Key<T> |
CallOptions.Key.createWithDefault(String debugString,
T defaultValue)
Factory method for creating instances of
CallOptions.Key . |
static <T> CallOptions.Key<T> |
CallOptions.Key.of(String debugString,
T defaultValue)
Deprecated.
Use
create(java.lang.String) or createWithDefault(java.lang.String, T) instead. This method will
be removed. |
Modifier and Type | Method and Description |
---|---|
<T> T |
CallOptions.getOption(CallOptions.Key<T> key)
Get the value for a custom option or its inherent default.
|
<T> CallOptions |
CallOptions.withOption(CallOptions.Key<T> key,
T value)
Sets a custom option.
|