Package org.jclouds.rest.config
Class ReadAnnotationsAndProperties
java.lang.Object
org.jclouds.rest.config.ReadAnnotationsAndProperties
- All Implemented Interfaces:
InvocationConfig
@Beta
@Singleton
public class ReadAnnotationsAndProperties
extends Object
implements InvocationConfig
-
Method Summary
Modifier and TypeMethodDescriptiongetCommandName(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> If this is present, Sync method calls will block up to the specified nanos and throw an.invalid reference
UncheckedTimeoutException
-
Method Details
-
getTimeoutNanos
Description copied from interface:InvocationConfigIf this is present, Sync method calls will block up to the specified nanos and throw an. If this is not present, Sync method calls will be invoked directly, typically throughinvalid reference
UncheckedTimeoutException
.invalid reference
HttpCommandExecutorService#invoke
- Specified by:
getTimeoutNanosin interfaceInvocationConfig
-
getCommandName
Description copied from interface:InvocationConfigcommand named used in logging and configuration keys.- Specified by:
getCommandNamein interfaceInvocationConfig
-
getFallback
Description copied from interface:InvocationConfigfallback used for commands when exceptions are encountered.- Specified by:
getFallbackin interfaceInvocationConfig
-