|
|||||||||
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 Service
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 <K,V> WriteBehind<K,V> createWriteBehindLoaderWriter(CacheLoaderWriter<K,V> cacheLoaderWriter, WriteBehindConfiguration configuration)
WriteBehindProvider
createWriteBehindLoaderWriter
in interface WriteBehindProvider
K
- the key type for the associated Cache
V
- the value type for the associated Cache
cacheLoaderWriter
- loaderwriterconfiguration
- configuration
public void releaseWriteBehindLoaderWriter(CacheLoaderWriter<?,?> cacheLoaderWriter)
WriteBehindProvider
CacheManager
when a Cache
is being removed from it.
releaseWriteBehindLoaderWriter
in interface WriteBehindProvider
cacheLoaderWriter
- 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 |