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 Summary

    Modifier and Type
    Method
    Description
    int
    Returns the current size of the cache.
    int
    Returns the maximum size of the cache.
  • Method Details

    • 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.