|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.oozie.service.SLAStoreService
public class SLAStoreService
Field Summary |
---|
Fields inherited from interface org.apache.oozie.service.Service |
---|
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND |
Constructor Summary | |
---|---|
SLAStoreService()
|
Method Summary | ||
---|---|---|
SLAStore |
create()
Return a SLA store instance with a fresh transaction. |
|
|
create(S store)
Return a SLA store instance with an existing transaction. |
|
void |
destroy()
Destroy the service. |
|
Class<? extends Service> |
getInterface()
Return the public interface of the service. |
|
void |
init(Services services)
Initialize the service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SLAStoreService()
Method Detail |
---|
public void destroy()
Service
Invoked by the Service
singleton at shutdown time.
destroy
in interface Service
public Class<? extends Service> getInterface()
Service
Services are retrieved by its public interface. Specializations of services must return the public interface.
getInterface
in interface Service
public SLAStore create() throws StoreException
The LSA store has to be committed and then closed to commit changes, if only close it rolls back.
StoreException
- thrown if the SLA store could not be created.public <S extends Store> SLAStore create(S store) throws StoreException
The SLA store has to be committed and then closed to commit changes, if only close it rolls back.
StoreException
- thrown if the SLA store could not be created.public void init(Services services) throws ServiceException
Service
Invoked by the Service
singleton at start up time.
init
in interface Service
services
- services singleton initializing the service.
ServiceException
- thrown if the service could not initialize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |