Class SoftCacheStorage

    • Constructor Detail

      • SoftCacheStorage

        public SoftCacheStorage()
      • SoftCacheStorage

        public SoftCacheStorage​(Map backingMap)
    • Method Detail

      • isConcurrent

        public boolean isConcurrent()
        Description copied from interface: ConcurrentCacheStorage
        Returns true if this instance of cache storage is concurrently accessible from multiple threads without synchronization.
        Specified by:
        isConcurrent in interface ConcurrentCacheStorage
        Returns:
        true if this instance of cache storage is concurrently accessible from multiple threads without synchronization.
      • getSize

        public int getSize()
        Returns a close approximation of the number of cache entries.
        Specified by:
        getSize in interface CacheStorageWithGetSize
        Since:
        2.3.21