@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 Sync or Async commands.
|
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-2013 jclouds. All Rights Reserved.