public class DeferrableExecutor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_KEY_EXPIRY_PERIOD
The
key for the expiry period used with Config.getPropertyAsInt(String, int). |
static String |
CONFIG_KEY_TIMEOUT
The
key for the timeout used with Config.getPropertyAsInt(String, int). |
| Modifier and Type | Method and Description |
|---|---|
<V> V |
call(String callIdentifier,
CallableProvider<V> callableProvider) |
static DeferrableExecutor |
getInstance() |
public static final String CONFIG_KEY_TIMEOUT
key for the timeout used with Config.getPropertyAsInt(String, int).
The configuration can be overridden by a system property - see Config.SYSTEM_PROPERTY_PREFIX.
public static final String CONFIG_KEY_EXPIRY_PERIOD
key for the expiry period used with Config.getPropertyAsInt(String, int).
The configuration can be overridden by a system property - see Config.SYSTEM_PROPERTY_PREFIX.
public static DeferrableExecutor getInstance()
public <V> V call(String callIdentifier, CallableProvider<V> callableProvider) throws DeferredCompletionException, ExecutionException
Copyright © 2013-2014. All Rights Reserved.