public class AdvancedAsyncCacheWriter extends AsyncCacheWriter implements AdvancedCacheWriter
AdvancedCacheWriter.PurgeListener<K>asyncConfiguration, state, stateLockactual, ctx| Constructor and Description |
|---|
AdvancedAsyncCacheWriter(CacheWriter delegate) |
| 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.
|
applyModificationsSync, delete, getState, init, start, stop, writeundelegateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, init, writepublic AdvancedAsyncCacheWriter(CacheWriter delegate)
public void purge(Executor threadPool, AdvancedCacheWriter.PurgeListener task)
AdvancedCacheWriterpurge in interface AdvancedCacheWriterpublic void clear()
AdvancedCacheWriterclear in interface AdvancedCacheWriterCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.