-
- Enclosing interface:
- Cache
public static interface Cache.CacheStats
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longhit()The number the cache serves stored response.longmiss()The number the cache does not have stored response which resulted in network call.
-
-
-
Method Detail
-
hit
long hit()
The number the cache serves stored response.- Returns:
- The number of times the cache serves stored response.
-
miss
long miss()
The number the cache does not have stored response which resulted in network call.- Returns:
- The number the cache does not have stored response which resulted in network call.
-
-