public interface CacheStatistics
RedisCache
. CacheStatistics
only serve local (in memory) data and do not collect any server
statistics.Modifier and Type | Method and Description |
---|---|
String |
getCacheName() |
long |
getDeletes() |
long |
getGets() |
long |
getHits() |
Instant |
getLastReset() |
long |
getLockWaitDuration(TimeUnit unit) |
long |
getMisses() |
default long |
getPending() |
long |
getPuts() |
Instant |
getSince() |
default Instant |
getTime() |
String getCacheName()
RedisCache
.long getPuts()
long getHits()
long getMisses()
default long getPending()
long getDeletes()
long getLockWaitDuration(TimeUnit unit)
unit
- the time unit to report the lock wait duration.TimeUnit
if the cache is configured to use locking.Instant getSince()
Instant getLastReset()
getSince()
if never reset.default Instant getTime()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.