Interface CommonMetrics

    • Method Detail

      • getHeapHitCount

        long getHeapHitCount()
      • getPutNewEntryCount

        long getPutNewEntryCount()
        Counted for a put that triggers the insert of a new cache entry.
        See Also:
        InternalCacheInfo.getPutCount()
      • getHeapHitButNoReadCount

        long getHeapHitButNoReadCount()
        Operation was accessing a heap entry and counted a hit if it is existing, but it should not be counted as read/get operation (e.g. contains). This is a correction counter applied to the get counter.
      • getReadThroughCount

        long getReadThroughCount()
        Entry was loaded, triggered by a get(). A read through event means also a get, load and miss event.
        See Also:
        InternalCacheInfo.getLoadCount()
      • getExpiredKeptCount

        long getExpiredKeptCount()
        Number of entries expired, but kept in the cache because of ongoing processing on the entry (pinned) or because keepData is enabled.
        See Also:
        InternalCacheInfo.getExpiredCount()
      • getPeekMissCount

        long getPeekMissCount()
        Incremented if data is requested from the cache but no entry is present (e.g. via peek or get). If a load is started this is not incremented, since the actual miss is recorded via the load/readThrough counter.
      • getPeekHitNotFreshCount

        long getPeekHitNotFreshCount()
        Peek, but entry available was not fresh (expired). This is effectively a miss, but we count separately for debugging purposes. Always 0 if not Cache2kBuilder.keepDataAfterExpired(boolean)
      • getRefreshRejectedCount

        long getRefreshRejectedCount()
        Refresh submit failed. Happens if the loader executor has not enough available resources and rejects the refresh task.
      • isDisabled

        boolean isDisabled()
        True if statistics are disabled.