@Override public long getReplaceTwoArgMissRate() { try { return cache.getStatistics().getExtended().replaceTwoArg().component(CacheOperationOutcomes.ReplaceTwoArgOutcome.FAILURE).rate().value().longValue(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getRemoveElementSuccessRate() { try { return cache.getStatistics().getExtended().removeElement().component(CacheOperationOutcomes.RemoveElementOutcome.SUCCESS).rate().value().longValue(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getReplaceOneArgMissRate() { try { return cache.getStatistics().getExtended().replaceOneArg().component(CacheOperationOutcomes.ReplaceOneArgOutcome.FAILURE).rate().value().longValue(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public SampledCounter getRemoveElementMissSample() { return new SampledCounterProxy(cache.getStatistics().getExtended().removeElement().component( CacheOperationOutcomes.RemoveElementOutcome.FAILURE).rate()); }
@Override public long getNonStopRejoinTimeoutCount() { try { return cache.getStatistics().getExtended().nonstop().component(NonStopOperationOutcomes.REJOIN_TIMEOUT).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getCacheClusterRejoinCount() { try { return cache.getStatistics().getExtended().clusterEvent().component(ClusterEventOutcomes.REJOINED).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getReplaceTwoArgSuccessCount() { try { return cache.getStatistics().getExtended().replaceTwoArg().component(CacheOperationOutcomes.ReplaceTwoArgOutcome.SUCCESS).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getReplaceOneArgSuccessCount() { try { return cache.getStatistics().getExtended().replaceOneArg().component(CacheOperationOutcomes.ReplaceOneArgOutcome.SUCCESS).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public SampledCounter getReplaceTwoArgMissSample() { return new SampledCounterProxy(cache.getStatistics().getExtended().replaceTwoArg().component( CacheOperationOutcomes.ReplaceTwoArgOutcome.FAILURE).rate()); }
@Override public long getNonStopTimeoutCount() { try { return cache.getStatistics().getExtended().nonstop().component(NonStopOperationOutcomes.TIMEOUT).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getRemoveElementMissCount() { try { return cache.getStatistics().getExtended().removeElement().component( CacheOperationOutcomes.RemoveElementOutcome.FAILURE).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getPutIfAbsentMissRate() { try { return cache.getStatistics().getExtended().putIfAbsent().component(CacheOperationOutcomes.PutIfAbsentOutcome.FAILURE).rate().value().longValue(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getPutIfAbsentMissCount() { try { return cache.getStatistics().getExtended().putIfAbsent().component( CacheOperationOutcomes.PutIfAbsentOutcome.FAILURE).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public SampledCounter getRemoveElementSuccessSample() { return new SampledCounterProxy(cache.getStatistics().getExtended().removeElement().component( CacheOperationOutcomes.RemoveElementOutcome.SUCCESS).rate()); }
@Override public SampledCounter getPutIfAbsentMissSample() { return new SampledCounterProxy(cache.getStatistics().getExtended().putIfAbsent().component( CacheOperationOutcomes.PutIfAbsentOutcome.FAILURE).rate()); }
@Override public SampledCounter getReplaceOneArgMissSample() { return new SampledCounterProxy(cache.getStatistics().getExtended().replaceOneArg().component( CacheOperationOutcomes.ReplaceOneArgOutcome.FAILURE).rate()); }
@Override public long getNonStopFailureCount() { try { return cache.getStatistics().getExtended().nonstop().component(NonStopOperationOutcomes.FAILURE).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getNonStopSuccessCount() { try { return cache.getStatistics().getExtended().nonstop().component(NonStopOperationOutcomes.SUCCESS).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getRemoveElementSuccessCount() { try { return cache.getStatistics().getExtended().removeElement().component( CacheOperationOutcomes.RemoveElementOutcome.SUCCESS).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }
@Override public long getPutIfAbsentSuccessCount() { try { return cache.getStatistics().getExtended().putIfAbsent().component(CacheOperationOutcomes.PutIfAbsentOutcome.SUCCESS).count().value(); } catch (RuntimeException e) { throw Utils.newPlainException(e); } }