Package org.jdbi.v3.core.cache
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
-
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.
-