|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.internal.store.tiering.CacheStore.Provider
public static class CacheStore.Provider
Constructor Summary | |
---|---|
CacheStore.Provider()
|
Method Summary | ||
---|---|---|
|
createStore(Store.Configuration<K,V> storeConfig,
ServiceConfiguration<?>... serviceConfigs)
Creates a new Store instance |
|
void |
initStore(Store<?,?> resource)
Informs this Provider, a Store it created is being initialized |
|
void |
releaseStore(Store<?,?> resource)
Informs this Provider, a Store it created is being disposed (i.e. |
|
void |
start(ServiceProvider serviceProvider)
Start this service using the provided configuration and ServiceProvider . |
|
void |
stop()
Stops this service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheStore.Provider()
Method Detail |
---|
public <K,V> Store<K,V> createStore(Store.Configuration<K,V> storeConfig, ServiceConfiguration<?>... serviceConfigs)
Store.Provider
createStore
in interface Store.Provider
storeConfig
- the basic configuration for the StoreserviceConfigs
- the configurations the Provider may need to configure the Store
public void releaseStore(Store<?,?> resource)
Store.Provider
releaseStore
in interface Store.Provider
public void initStore(Store<?,?> resource)
Store.Provider
initStore
in interface Store.Provider
public void start(ServiceProvider serviceProvider)
Service
ServiceProvider
.
The goal of the service provider is to allow a service to use other services.
start
in interface Service
serviceProvider
- the service provider.public void stop()
Service
stop
in interface Service
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |