Package org.jdbi.v3.core.cache.internal
Class DefaultJdbiCacheStats
- java.lang.Object
-
- org.jdbi.v3.core.cache.internal.DefaultJdbiCacheStats
-
public final class DefaultJdbiCacheStats extends java.lang.ObjectSimple statistics for anDefaultJdbiCacheinstance. The values in this object are a snapshot of the cache status. Calling any method multiple times is cheap and constant time.
-
-
Constructor Summary
Constructors Constructor Description DefaultJdbiCacheStats(int cacheSize, int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcacheSize()Returns the current size of the cache.intmaxSize()Returns the maximum size of the cache.
-