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, CONF_USER_RETRY_POLICY, DEFAULT_USER_RETRY_POLICY, NODE_DEF_VERSION_0, NODE_DEF_VERSION_1, NODE_DEF_VERSION_2, USER_ERROR_CODE_ALLTRANSIENT_VAR_PREFIX, WORKFLOW_BEANDEFAULT_LOCK_TIMEOUT, lockTimeout| 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
Service Invoked by the Service 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()
Service Invoked by the Service singleton at shutdown time.
public WorkflowLib getWorkflowLibWithNoDB()
getWorkflowLibWithNoDB in class WorkflowStoreServicepublic WorkflowStore create() throws StoreException
WorkflowStoreServiceThe workflow store has to be committed and then closed to commit changes, if only close it rolls back.
create in class WorkflowStoreServiceStoreException - thrown if the workflow store could not be created.public <S extends Store> WorkflowStore create(S store) throws StoreException
WorkflowStoreServiceThe workflow store has to be committed and then closed to commit changes, if only close it rolls back.
create in class WorkflowStoreServiceStoreException - thrown if the workflow store could not be created.public void instrument(Instrumentation instr)
Instrumentableinstrument in interface Instrumentableinstr - system instrumentation.Copyright © 2016 Apache Software Foundation. All rights reserved.