public class AdvancedSingletonCacheWriter extends SingletonCacheWriter implements AdvancedCacheWriter
SingletonCacheWriter.PushStateException, SingletonCacheWriter.SingletonStoreListener
AdvancedCacheWriter.PurgeListener<K>
active, executor
actual, ctx
Constructor and Description |
---|
AdvancedSingletonCacheWriter(CacheWriter actual,
SingletonStoreConfiguration singletonConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all the data from the storage.
|
void |
purge(Executor threadPool,
AdvancedCacheWriter.PurgeListener task)
Using the thread in the pool, removed all the expired data from the persistence storage.
|
activeStatusChanged, awaitForPushToFinish, createPushStateTask, delete, pushState, start, stop, toString, write
init, undelegate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
delete, init, write
public AdvancedSingletonCacheWriter(CacheWriter actual, SingletonStoreConfiguration singletonConfiguration)
public void clear()
AdvancedCacheWriter
clear
in interface AdvancedCacheWriter
public void purge(Executor threadPool, AdvancedCacheWriter.PurgeListener task)
AdvancedCacheWriter
purge
in interface AdvancedCacheWriter
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.