@Beta @Singleton public class ReadAnnotationsAndProperties extends Object implements 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.
|
public com.google.common.base.Optional<Long> getTimeoutNanos(Invocation in)
InvocationConfig
getTimeoutNanos
in interface InvocationConfig
public String getCommandName(Invocation invocation)
InvocationConfig
getCommandName
in interface InvocationConfig
public Fallback<?> getFallback(Invocation invocation)
InvocationConfig
getFallback
in interface InvocationConfig
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.