Class ConcurrentBoundedCache

java.lang.Object
com.j_spaces.jdbc.QueryCache
com.gigaspaces.internal.utils.collections.ConcurrentBoundedCache

public class ConcurrentBoundedCache extends QueryCache
Concurrent bounded cache. It uses a ConcurrentHashMap and a counter to set the upper bound to the cache size. If one of the threads reaches the upperBound, the cache is cleared.
Since:
10.1.0
Version:
1.0
Author:
Boris
  • Constructor Details

    • ConcurrentBoundedCache

      public ConcurrentBoundedCache(long upperBound, boolean warnWhenFull)
  • Method Details