|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.service.WorkflowStoreService
public abstract class WorkflowStoreService
Base service for persistency of jobs and actions.
Field Summary | |
---|---|
static String |
TRANSIENT_VAR_PREFIX
|
static String |
WORKFLOW_BEAN
|
Fields inherited from interface org.apache.oozie.service.Service |
---|
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND |
Constructor Summary | |
---|---|
WorkflowStoreService()
|
Method Summary | ||
---|---|---|
abstract WorkflowStore |
create()
Return a workflow store instance with a fresh transaction. |
|
|
create(S store)
Return a workflow store instance with an existing transaction. |
|
static List<String> |
getActionsToFail(WorkflowInstance instance)
Return the list of action IDs to fail. |
|
static List<String> |
getActionsToKill(WorkflowInstance instance)
Return the list of action IDs to kill. |
|
Class<? extends Service> |
getInterface()
Return the public interface of the service. |
|
static List<WorkflowActionBean> |
getStartedActions(WorkflowInstance instance)
Return the list of actions started by a signal in an instance. |
|
abstract WorkflowLib |
getWorkflowLibWithNoDB()
Return a workkflow lib, giving access to the parser functionality. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.oozie.service.Service |
---|
destroy, init |
Field Detail |
---|
public static final String TRANSIENT_VAR_PREFIX
public static final String WORKFLOW_BEAN
Constructor Detail |
---|
public WorkflowStoreService()
Method Detail |
---|
public Class<? extends Service> getInterface()
getInterface
in interface Service
WorkflowStoreService
.public abstract WorkflowLib getWorkflowLibWithNoDB()
public abstract WorkflowStore create() throws StoreException
StoreException
- thrown if the workflow store could not be created.public <S extends Store> WorkflowStore create(S store) throws StoreException
StoreException
- thrown if the workflow store could not be created.public static List<WorkflowActionBean> getStartedActions(WorkflowInstance instance)
instance
- workflow instance that has been signaled.
public static List<String> getActionsToKill(WorkflowInstance instance)
instance
- workflow instance
public static List<String> getActionsToFail(WorkflowInstance instance)
instance
- workflow instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |