@Override public Long getValue() { return cache.getStatistics().cacheEvictionOperation().count().value(); } });
/** * {@inheritDoc} */ @Override public long getRemovedCount() { try { return cache.getStatistics().cacheRemoveCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
/** * {@inheritDoc} */ @Override public long getXaCommitCount() { try { return cache.getStatistics().xaCommitCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public Double getValue() { return cache.getStatistics().cacheGetOperation().latency().average().value(); } });
/** * {@inheritDoc} */ @Override public long getWriterQueueLength() { try { return cache.getStatistics().getWriterQueueLength(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public Double getValue() { return cache.getStatistics().cacheSearchOperation().latency().average().value(); } });
/** * {@inheritDoc} */ @Override public long getCacheHitCount() { try { return cache.getStatistics().cacheHitCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
/** * {@inheritDoc} */ @Override public long getCacheExpirationRate() { return cache.getStatistics().cacheExpiredOperation().rate().value().longValue(); }
/** * {@inheritDoc} */ @Override public long getOnDiskMissCount() { try { return cache.getStatistics().localDiskMissCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
/** * {@inheritDoc} */ @Override public long getCacheHitRate() { return cache.getStatistics().cacheHitOperation().rate().value().longValue(); }
/** * {@inheritDoc} */ @Override public long getEvictedCount() { try { return cache.getStatistics().cacheEvictedCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
/** * {@inheritDoc} */ @Override public long getCacheMissRate() { return cache.getStatistics().cacheMissOperation().rate().value().longValue(); }
/** * {@inheritDoc} */ @Override public long getInMemoryHitCount() { try { return cache.getStatistics().localHeapHitCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
/** * {@inheritDoc} */ @Override public long getTransactionRollbackRate() { return cache.getStatistics().xaRollbackOperation().rate().value().longValue(); }
/** * {@inheritDoc} */ @Override public long getOffHeapHitCount() { try { return cache.getStatistics().localOffHeapHitCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
/** * {@inheritDoc} */ @Override public long getCacheRemoveRate() { return cache.getStatistics().cacheRemoveOperation().rate().value().longValue(); }
/** * {@inheritDoc} */ @Override public long getLocalOffHeapSize() { try { return cache.getStatistics().getLocalOffHeapSize(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
/** * {@inheritDoc} */ @Override public long getCacheMissExpiredMostRecentSample() { return cache.getStatistics().cacheMissExpiredOperation().rate().value().longValue(); }
/** * {@inheritDoc} */ @Override public long getXaRecoveredCount() { try { return cache.getStatistics().xaRecoveryCount(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
/** * {@inheritDoc} */ @Override public long getCacheOffHeapMissRate() { return cache.getStatistics().localOffHeapMissOperation().rate().value().longValue(); }