@ThreadSafe public interface AdvancedCacheWriter<K,V> extends CacheWriter<K,V>
Modifier and Type | Interface and Description |
---|---|
static interface |
AdvancedCacheWriter.PurgeListener<K> |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all the data from the storage.
|
void |
purge(Executor threadPool,
AdvancedCacheWriter.PurgeListener listener)
Using the thread in the pool, removed all the expired data from the persistence storage.
|
delete, init, write
void clear()
void purge(Executor threadPool, AdvancedCacheWriter.PurgeListener listener)
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.