public class AdvancedAsyncCacheWriter extends AsyncCacheWriter implements AdvancedCacheWriter
AdvancedCacheWriter.PurgeListener<K>
asyncConfiguration, state, stateLock
actual, 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, write
undelegate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, init, write
public AdvancedAsyncCacheWriter(CacheWriter delegate)
public void purge(Executor threadPool, AdvancedCacheWriter.PurgeListener task)
AdvancedCacheWriter
purge
in interface AdvancedCacheWriter
public void clear()
AdvancedCacheWriter
clear
in interface AdvancedCacheWriter
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.