Interface JdbiCacheStats


  • public interface JdbiCacheStats
    Simple statistics about a JdbiCache instance. The values in this object are a snapshot of the cache status. Calling any method multiple times should be cheap and constant time.
    • Method Detail

      • cacheSize

        int cacheSize()
        Returns the current size of the cache.
        Returns:
        The current size of the cache.
      • maxSize

        int maxSize()
        Returns the maximum size of the cache.
        Returns:
        The maximum size of the cache.