com.ibm.websphere.cache
Interface CacheLocal
- public interface CacheLocal
Method Summary
Modifier and Type | Method and Description |
---|---|
|
clearMemory(boolean clearDisk)
Clear the contents of the cache in memory and optionally on disk.
|
Method Detail
clearMemory
- void clearMemory(boolean clearDisk)
Clear the contents of the cache in memory and optionally on disk.
Calling this API method will NOT result in invalidations being sent to other servers/JVMs in the replication domain.
If clearDisk is set to false, diskOffload and flushToDiskOnStop is enabled on the cache instance , the entries in memory will be flushed to disk before removing them from memory.
Parameters:
clearDisk
- When set to true the disk cache will be cleared as well