public class SLAStoreService extends Object implements Service
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout
Constructor and Description |
---|
SLAStoreService() |
Modifier and Type | Method and Description |
---|---|
SLAStore |
create()
Return a SLA store instance with a fresh transaction.
|
<S extends Store> |
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.
|
public SLAStoreService()
public void destroy()
Service
Service
singleton at shutdown time.public Class<? extends Service> getInterface()
Service
getInterface
in interface Service
public SLAStore create() throws StoreException
StoreException
- thrown if the SLA store could not be created.public <S extends Store> SLAStore create(S store) throws StoreException
StoreException
- thrown if the SLA store could not be created.public void init(Services services) throws ServiceException
Service
Service
singleton at start up time.init
in interface Service
services
- services singleton initializing the service.ServiceException
- thrown if the service could not initialize.Copyright © 2015 Apache Software Foundation. All Rights Reserved.