|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.service.CoordinatorStoreService
public class CoordinatorStoreService
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 | |
---|---|
CoordinatorStoreService()
|
Method Summary | ||
---|---|---|
CoordinatorStore |
create()
Return a workflow store instance with a fresh transaction. |
|
|
create(S store)
Return a workflow store instance with an existing transaction. |
|
void |
destroy()
Destroy the StoreService |
|
Class<? extends Service> |
getInterface()
Return the public interface of the service. |
|
void |
init(Services services)
Initializes the StoreService . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TRANSIENT_VAR_PREFIX
public static final String WORKFLOW_BEAN
Constructor Detail |
---|
public CoordinatorStoreService()
Method Detail |
---|
public Class<? extends Service> getInterface()
getInterface
in interface Service
WorkflowStoreService
.public CoordinatorStore create() throws StoreException
StoreException
- thrown if the workflow store could not be created.public <S extends Store> CoordinatorStore create(S store) throws StoreException
StoreException
- thrown if the workflow store could not be created.public void init(Services services) throws ServiceException
StoreService
.
init
in interface Service
services
- services instance.
ServiceException
- thrown if the service could not initialize.public void destroy()
destroy
in interface Service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |