|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.impl.internal.loaderwriter.writebehind.WriteBehindProviderFactory.Provider
public static class WriteBehindProviderFactory.Provider
| Constructor Summary | |
|---|---|
protected |
WriteBehindProviderFactory.Provider()
|
protected |
WriteBehindProviderFactory.Provider(java.lang.String threadPoolAlias)
|
| Method Summary | ||
|---|---|---|
|
createWriteBehindLoaderWriter(CacheLoaderWriter<K,V> cacheLoaderWriter,
WriteBehindConfiguration configuration)
Provider Interface for decorator loaderwriter |
|
void |
releaseWriteBehindLoaderWriter(CacheLoaderWriter<?,?> cacheLoaderWriter)
Invoked by CacheManager when a Cache is being removed from it. |
|
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 |
|---|
protected WriteBehindProviderFactory.Provider()
protected WriteBehindProviderFactory.Provider(java.lang.String threadPoolAlias)
| Method Detail |
|---|
public void stop()
Service
stop in interface Servicepublic 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 <K,V> WriteBehind<K,V> createWriteBehindLoaderWriter(CacheLoaderWriter<K,V> cacheLoaderWriter,
WriteBehindConfiguration configuration)
WriteBehindProvider
createWriteBehindLoaderWriter in interface WriteBehindProviderK - the key type for the associated CacheV - the value type for the associated CachecacheLoaderWriter - loaderwriterconfiguration - configuration
public void releaseWriteBehindLoaderWriter(CacheLoaderWriter<?,?> cacheLoaderWriter)
WriteBehindProviderCacheManager when a Cache is being removed from it.
releaseWriteBehindLoaderWriter in interface WriteBehindProvidercacheLoaderWriter - the CacheLoaderWriter that was initially associated with
the Cache being removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||