public class AdvancedSingletonCacheWriter extends SingletonCacheWriter implements AdvancedCacheWriter
SingletonCacheWriter.PushStateException, SingletonCacheWriter.SingletonStoreListenerAdvancedCacheWriter.PurgeListener<K>active, executoractual, 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, writeinit, undelegateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdelete, init, writepublic AdvancedSingletonCacheWriter(CacheWriter actual, SingletonStoreConfiguration singletonConfiguration)
public void clear()
AdvancedCacheWriterclear in interface AdvancedCacheWriterpublic void purge(Executor threadPool, AdvancedCacheWriter.PurgeListener task)
AdvancedCacheWriterpurge in interface AdvancedCacheWriterCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.