|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface InvocationConfig
Provides the ability to decouple timeouts and fallbacks from what's built-in.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
com.google.common.base.Optional<Long> getTimeoutNanos(Invocation in)
String getCommandName(Invocation invocation)
Fallback<?> getFallback(Invocation invocation)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||