Interface ConcurrentCacheStorage
- All Superinterfaces:
CacheStorage
- All Known Implementing Classes:
NullCacheStorage, SoftCacheStorage, StrongCacheStorage
An optional interface for cache storage that knows whether it can be
concurrently accessible without synchronization.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if this instance of cache storage is concurrently accessible from multiple threads without synchronization.Methods inherited from interface CacheStorage
clear, get, put, remove
-
Method Details
-
isConcurrent
boolean isConcurrent()Returns true if this instance of cache storage is concurrently accessible from multiple threads without synchronization.- Returns:
- true if this instance of cache storage is concurrently accessible from multiple threads without synchronization.
-