Package org.cache2k.core
Interface CanCheckIntegrity
-
- All Known Subinterfaces:
InternalCache<K,V>
- All Known Implementing Classes:
BaseCache
,HeapCache
,IntHeapCache
,WiredCache
public interface CanCheckIntegrity
Cache supports checking its internal integrity.- Author:
- Jens Wilke; created: 2013-07-11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkIntegrity()
Cache checks its internal integrity.
-
-
-
Method Detail
-
checkIntegrity
void checkIntegrity()
Cache checks its internal integrity. This is a expansive operation because it may traverse all cache entries. Used for testing.- Throws:
IllegalStateException
- if integrity problem is found
-
-