public class DBLiteWorkflowStoreService extends LiteWorkflowStoreService implements Instrumentable
LiteWorkflowStoreService.LiteActionHandler, LiteWorkflowStoreService.LiteControlNodeHandler, LiteWorkflowStoreService.LiteDecisionHandler| Modifier and Type | Field and Description |
|---|---|
static String |
CONF_METRICS_INTERVAL_MINS |
static String |
CONF_METRICS_INTERVAL_WINDOW |
static String |
CONF_PREFIX |
CONF_NODE_DEF_VERSION, CONF_PREFIX_USER_RETRY, CONF_USER_RETRY_ERROR_CODE, CONF_USER_RETRY_ERROR_CODE_EXT, CONF_USER_RETRY_INTEVAL, CONF_USER_RETRY_MAX, NODE_DEF_VERSION_0, NODE_DEF_VERSION_1TRANSIENT_VAR_PREFIX, WORKFLOW_BEANDEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND| Constructor and Description |
|---|
DBLiteWorkflowStoreService() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowStore |
create()
Return a workflow store instance with a fresh transaction.
|
<S extends Store> |
create(S store)
Return a workflow store instance with an existing transaction.
|
void |
destroy()
Destroy the service.
|
WorkflowLib |
getWorkflowLibWithNoDB()
Return the workflow lib without DB connection.
|
void |
init(Services services)
Initialize the service.
|
void |
instrument(Instrumentation instr)
Set the system instrumentation.
|
getNodeDefDefaultVersion, getUserRetryErrorCode, liteExecute, liteFail, liteKillgetActionsToFail, getActionsToKill, getActionsToStart, getInterfacepublic static final String CONF_PREFIX
public static final String CONF_METRICS_INTERVAL_MINS
public static final String CONF_METRICS_INTERVAL_WINDOW
public DBLiteWorkflowStoreService()
public void init(Services services) throws ServiceException
ServiceService singleton at start up time.init in interface Serviceservices - services singleton initializing the service.ServiceException - thrown if the service could not initialize.public void destroy()
ServiceService singleton at shutdown time.public WorkflowLib getWorkflowLibWithNoDB()
getWorkflowLibWithNoDB in class WorkflowStoreServicepublic WorkflowStore create() throws StoreException
WorkflowStoreServicecreate in class WorkflowStoreServiceStoreException - thrown if the workflow store could not be created.public <S extends Store> WorkflowStore create(S store) throws StoreException
WorkflowStoreServicecreate in class WorkflowStoreServiceStoreException - thrown if the workflow store could not be created.public void instrument(Instrumentation instr)
Instrumentableinstrument in interface Instrumentableinstr - system instrumentation.Copyright © 2014 Apache Software Foundation. All Rights Reserved.