|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.internal.store.DefaultStoreProvider
public class DefaultStoreProvider
| Constructor Summary | |
|---|---|
DefaultStoreProvider()
|
|
| 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 DefaultStoreProvider()
| Method Detail |
|---|
public <K,V> Store<K,V> createStore(Store.Configuration<K,V> storeConfig,
ServiceConfiguration<?>... serviceConfigs)
Store.Provider
createStore in interface Store.ProviderstoreConfig - 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.Providerpublic void initStore(Store<?,?> resource)
Store.Provider
initStore in interface Store.Providerpublic void start(ServiceProvider serviceProvider)
ServiceServiceProvider.
The goal of the service provider is to allow a service to use other services.
start in interface ServiceserviceProvider - 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 | ||||||||