public class RecoveryService extends Object implements Service
| Modifier and Type | Field and Description | 
|---|---|
static String | 
CONF_BUNDLE_OLDER_THAN
Age of Bundle jobs to recover, in seconds. 
 | 
static String | 
CONF_CALLABLE_BATCH_SIZE
The number of callables to be queued in a batch. 
 | 
static String | 
CONF_COORD_OLDER_THAN
Age of coordinator jobs to recover, in seconds. 
 | 
static String | 
CONF_PREFIX_BUNDLE  | 
static String | 
CONF_PREFIX_COORD  | 
static String | 
CONF_PREFIX_WF_ACTIONS  | 
static String | 
CONF_PUSH_DEPENDENCY_INTERVAL
Delay for the push missing dependencies in milliseconds. 
 | 
static String | 
CONF_SERVICE_INTERVAL
Time interval, in seconds, at which the recovery service will be scheduled to run. 
 | 
static String | 
CONF_WF_ACTIONS_CREATED_TIME_INTERVAL  | 
static String | 
CONF_WF_ACTIONS_OLDER_THAN
Age of actions to queue, in seconds. 
 | 
static long | 
ONE_DAY_MILLISCONDS  | 
static String | 
RECOVERY_SERVICE_CONF_PREFIX  | 
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout| Constructor and Description | 
|---|
RecoveryService()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
destroy()
Destroy the Recovery Service. 
 | 
Class<? extends Service> | 
getInterface()
Return the public interface for the Recovery Service. 
 | 
int | 
getRecoveryServiceInterval(org.apache.hadoop.conf.Configuration conf)  | 
void | 
init(Services services)
Initializes the RecoveryService. 
 | 
public static final String RECOVERY_SERVICE_CONF_PREFIX
public static final String CONF_PREFIX_WF_ACTIONS
public static final String CONF_PREFIX_COORD
public static final String CONF_PREFIX_BUNDLE
public static final String CONF_SERVICE_INTERVAL
public static final String CONF_CALLABLE_BATCH_SIZE
public static final String CONF_PUSH_DEPENDENCY_INTERVAL
public static final String CONF_WF_ACTIONS_OLDER_THAN
public static final String CONF_WF_ACTIONS_CREATED_TIME_INTERVAL
public static final String CONF_COORD_OLDER_THAN
public static final String CONF_BUNDLE_OLDER_THAN
public static final long ONE_DAY_MILLISCONDS
public RecoveryService()
public int getRecoveryServiceInterval(org.apache.hadoop.conf.Configuration conf)
public void destroy()
public Class<? extends Service> getInterface()
getInterface in interface ServiceRecoveryService.Copyright © 2016 Apache Software Foundation. All rights reserved.