public class ExtendedStatisticsImpl extends Object implements ExtendedStatistics
ExtendedStatistics.Latency, ExtendedStatistics.Operation<T extends Enum<T>>, ExtendedStatistics.Result, ExtendedStatistics.Statistic<T extends Number>ALL_CACHE_GET_OUTCOMES, ALL_CACHE_MISS_OUTCOMES, ALL_CACHE_PUT_OUTCOMES, ALL_STORE_PUT_OUTCOMES| Constructor and Description |
|---|
ExtendedStatisticsImpl(org.terracotta.statistics.StatisticsManager manager,
ScheduledExecutorService executor,
long timeToDisable,
TimeUnit unit,
int defaultHistorySize,
long defaultIntervalSeconds,
long defaultSearchIntervalSeconds)
Instantiates a new extended statistics impl.
|
public ExtendedStatisticsImpl(org.terracotta.statistics.StatisticsManager manager,
ScheduledExecutorService executor,
long timeToDisable,
TimeUnit unit,
int defaultHistorySize,
long defaultIntervalSeconds,
long defaultSearchIntervalSeconds)
manager - the managerexecutor - the executortimeToDisable - the time to disableunit - the unitpublic Set<ExtendedStatistics.Statistic<Number>> passthru(String name, Set<String> tags)
ExtendedStatisticspassthru in interface ExtendedStatisticsname - nametags - set of tagspublic void setTimeToDisable(long time,
TimeUnit unit)
ExtendedStatisticssetTimeToDisable in interface ExtendedStatisticstime - the timeunit - the unitpublic void setAlwaysOn(boolean enabled)
ExtendedStatisticssetAlwaysOn in interface ExtendedStatisticsenabled - the new always onpublic ExtendedStatistics.Operation<CacheOperationOutcomes.GetOutcome> get()
ExtendedStatisticsget in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.PutOutcome> put()
ExtendedStatisticsput in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.RemoveOutcome> remove()
ExtendedStatisticsremove in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.ReplaceOneArgOutcome> replaceOneArg()
ExtendedStatisticsreplaceOneArg in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.ReplaceTwoArgOutcome> replaceTwoArg()
ExtendedStatisticsreplaceTwoArg in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.PutIfAbsentOutcome> putIfAbsent()
ExtendedStatisticsputIfAbsent in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.RemoveElementOutcome> removeElement()
ExtendedStatisticsremoveElement in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.SearchOutcome> search()
ExtendedStatisticssearch in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> heapGet()
ExtendedStatisticsheapGet in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> heapPut()
ExtendedStatisticsheapPut in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> heapRemove()
ExtendedStatisticsheapRemove in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> offheapGet()
ExtendedStatisticsoffheapGet in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> offheapPut()
ExtendedStatisticsoffheapPut in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> offheapRemove()
ExtendedStatisticsoffheapRemove in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> diskGet()
ExtendedStatisticsdiskGet in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> diskPut()
ExtendedStatisticsdiskPut in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> diskRemove()
ExtendedStatisticsdiskRemove in interface ExtendedStatisticspublic ExtendedStatistics.Operation<XaCommitOutcome> xaCommit()
ExtendedStatisticsxaCommit in interface ExtendedStatisticspublic ExtendedStatistics.Operation<XaRollbackOutcome> xaRollback()
ExtendedStatisticsxaRollback in interface ExtendedStatisticspublic ExtendedStatistics.Operation<XaRecoveryOutcome> xaRecovery()
ExtendedStatisticsxaRecovery in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.EvictionOutcome> eviction()
ExtendedStatisticseviction in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.ExpiredOutcome> expiry()
ExtendedStatisticsexpiry in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Double> cacheHitRatio()
ExtendedStatisticscacheHitRatio in interface ExtendedStatisticspublic ExtendedStatistics.Result allGet()
ExtendedStatisticsallGet in interface ExtendedStatisticspublic ExtendedStatistics.Result allMiss()
ExtendedStatisticsallMiss in interface ExtendedStatisticspublic ExtendedStatistics.Result allPut()
ExtendedStatisticsallPut in interface ExtendedStatisticspublic ExtendedStatistics.Result heapAllPut()
ExtendedStatisticsheapAllPut in interface ExtendedStatisticspublic ExtendedStatistics.Result offHeapAllPut()
ExtendedStatisticsoffHeapAllPut in interface ExtendedStatisticspublic ExtendedStatistics.Result diskAllPut()
ExtendedStatisticsdiskAllPut in interface ExtendedStatisticspublic <T extends Enum<T>> Set<ExtendedStatistics.Operation<T>> operations(Class<T> outcome, String name, String... tags)
ExtendedStatisticsoperations in interface ExtendedStatisticsT - the generic typeoutcome - the outcomename - the nametags - the tagspublic ExtendedStatistics.Statistic<Number> localHeapSize()
ExtendedStatisticslocalHeapSize in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Number> localHeapSizeInBytes()
ExtendedStatisticslocalHeapSizeInBytes in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Number> localOffHeapSize()
ExtendedStatisticslocalOffHeapSize in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Number> localOffHeapSizeInBytes()
ExtendedStatisticslocalOffHeapSizeInBytes in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Number> localDiskSize()
ExtendedStatisticslocalDiskSize in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Number> localDiskSizeInBytes()
ExtendedStatisticslocalDiskSizeInBytes in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Number> remoteSize()
ExtendedStatisticsremoteSize in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Number> size()
ExtendedStatisticssize in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Number> writerQueueLength()
ExtendedStatisticswriterQueueLength in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.ClusterEventOutcomes> clusterEvent()
ExtendedStatisticsclusterEvent in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.NonStopOperationOutcomes> nonstop()
ExtendedStatisticsnonstop in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Number> mostRecentRejoinTimeStampMillis()
ExtendedStatisticsmostRecentRejoinTimeStampMillis in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Double> nonstopTimeoutRatio()
ExtendedStatisticsnonstopTimeoutRatio in interface ExtendedStatisticspublic void dispose()
Copyright 2001-2021, Terracotta, Inc.