This project has retired. For details please refer to its
Attic page .
DBLiteWorkflowStoreService (Apache Oozie Core 4.0.0 API)
org.apache.oozie.service
Class DBLiteWorkflowStoreService
java.lang.Object
org.apache.oozie.service.WorkflowStoreService
org.apache.oozie.service.LiteWorkflowStoreService
org.apache.oozie.service.DBLiteWorkflowStoreService
All Implemented Interfaces: Service , Instrumentable
public class DBLiteWorkflowStoreService extends LiteWorkflowStoreService implements Instrumentable
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
CONF_PREFIX
public static final String CONF_PREFIX
See Also: Constant Field Values
CONF_METRICS_INTERVAL_MINS
public static final String CONF_METRICS_INTERVAL_MINS
See Also: Constant Field Values
CONF_METRICS_INTERVAL_WINDOW
public static final String CONF_METRICS_INTERVAL_WINDOW
See Also: Constant Field Values
DBLiteWorkflowStoreService
public DBLiteWorkflowStoreService ()
init
public void init (Services services)
throws ServiceException
Description copied from interface: Service
Initialize the service.
Invoked by the Service
singleton at start up time.
Specified by: init
in interface Service
Parameters: services
- services singleton initializing the service.
Throws:
ServiceException
- thrown if the service could not initialize.
destroy
public void destroy ()
Description copied from interface: Service
Destroy the service.
Invoked by the Service
singleton at shutdown time.
Specified by: destroy
in interface Service
getWorkflowLibWithNoDB
public WorkflowLib getWorkflowLibWithNoDB ()
Return the workflow lib without DB connection. Will be used for parsing purpose.
Specified by: getWorkflowLibWithNoDB
in class WorkflowStoreService
Returns: Workflow Library
create
public WorkflowStore create ()
throws StoreException
Description copied from class: WorkflowStoreService
Return a workflow store instance with a fresh transaction.
The workflow store has to be committed and then
closed to commit changes, if only close it rolls back.
Specified by: create
in class WorkflowStoreService
Returns: a workflow store.
Throws:
StoreException
- thrown if the workflow store could not be created.
create
public <S extends Store > WorkflowStore create (S store)
throws StoreException
Description copied from class: WorkflowStoreService
Return a workflow store instance with an existing transaction.
The workflow store has to be committed and
then closed to commit changes, if only close it rolls back.
Overrides: create
in class WorkflowStoreService
Returns: a workflow store.
Throws:
StoreException
- thrown if the workflow store could not be created.
instrument
public void instrument (Instrumentation instr)
Description copied from interface: Instrumentable
Set the system instrumentation.
Specified by: instrument
in interface Instrumentable
Parameters: instr
- system instrumentation.
Copyright © 2013 Apache Software Foundation . All Rights Reserved.