|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Store.Provider
The Service used to create Stores.
Implementation of Store.Provider
have be thread-safe.
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. |
Methods inherited from interface org.ehcache.spi.service.Service |
---|
start, stop |
Method Detail |
---|
<K,V> Store<K,V> createStore(Store.Configuration<K,V> storeConfig, ServiceConfiguration<?>... serviceConfigs)
storeConfig
- the basic configuration for the StoreserviceConfigs
- the configurations the Provider may need to configure the Store
void releaseStore(Store<?,?> resource)
resource
- void initStore(Store<?,?> resource)
resource
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |