@Beta
public interface InvocationConfig
Modifier and Type | Method and Description |
---|---|
String |
getCommandName(Invocation invocation)
command named used in logging and configuration keys.
|
Fallback<?> |
getFallback(Invocation invocation)
fallback used for commands when exceptions are encountered.
|
com.google.common.base.Optional<Long> |
getTimeoutNanos(Invocation in)
If this is present, Sync method calls will block up to the specified nanos
and throw an UncheckedTimeoutException.
|
com.google.common.base.Optional<Long> getTimeoutNanos(Invocation in)
String getCommandName(Invocation invocation)
Fallback<?> getFallback(Invocation invocation)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.