|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl
public class ExtendedStatisticsImpl
The Class ExtendedStatisticsImpl.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.sf.ehcache.statistics.extended.ExtendedStatistics |
---|
ExtendedStatistics.Latency, ExtendedStatistics.Operation<T extends Enum<T>>, ExtendedStatistics.Result, ExtendedStatistics.Statistic<T extends Number> |
Field Summary |
---|
Fields inherited from interface net.sf.ehcache.statistics.extended.ExtendedStatistics |
---|
ALL_CACHE_GET_OUTCOMES, ALL_CACHE_MISS_OUTCOMES, ALL_CACHE_PUT_OUTCOMES, ALL_STORE_PUT_OUTCOMES |
Constructor Summary | |
---|---|
ExtendedStatisticsImpl(org.terracotta.statistics.StatisticsManager manager,
ScheduledExecutorService executor,
long timeToDisable,
TimeUnit unit,
int defaultHistorySize,
long defaultIntervalSeconds,
long defaultSearchIntervalSeconds)
Instantiates a new extended statistics impl. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 unitMethod Detail |
---|
public Set<ExtendedStatistics.Statistic<Number>> passthru(String name, Set<String> tags)
ExtendedStatistics
passthru
in interface ExtendedStatistics
name
- nametags
- set of tags
public void setTimeToDisable(long time, TimeUnit unit)
ExtendedStatistics
setTimeToDisable
in interface ExtendedStatistics
time
- the timeunit
- the unitpublic void setAlwaysOn(boolean enabled)
ExtendedStatistics
setAlwaysOn
in interface ExtendedStatistics
enabled
- the new always onpublic ExtendedStatistics.Operation<CacheOperationOutcomes.GetOutcome> get()
ExtendedStatistics
get
in interface ExtendedStatistics
public ExtendedStatistics.Operation<CacheOperationOutcomes.PutOutcome> put()
ExtendedStatistics
put
in interface ExtendedStatistics
public ExtendedStatistics.Operation<CacheOperationOutcomes.RemoveOutcome> remove()
ExtendedStatistics
remove
in interface ExtendedStatistics
public ExtendedStatistics.Operation<CacheOperationOutcomes.SearchOutcome> search()
ExtendedStatistics
search
in interface ExtendedStatistics
public ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> heapGet()
ExtendedStatistics
heapGet
in interface ExtendedStatistics
public ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> heapPut()
ExtendedStatistics
heapPut
in interface ExtendedStatistics
public ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> heapRemove()
ExtendedStatistics
heapRemove
in interface ExtendedStatistics
public ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> offheapGet()
ExtendedStatistics
offheapGet
in interface ExtendedStatistics
public ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> offheapPut()
ExtendedStatistics
offheapPut
in interface ExtendedStatistics
public ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> offheapRemove()
ExtendedStatistics
offheapRemove
in interface ExtendedStatistics
public ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> diskGet()
ExtendedStatistics
diskGet
in interface ExtendedStatistics
public ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> diskPut()
ExtendedStatistics
diskPut
in interface ExtendedStatistics
public ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> diskRemove()
ExtendedStatistics
diskRemove
in interface ExtendedStatistics
public ExtendedStatistics.Operation<XaCommitOutcome> xaCommit()
ExtendedStatistics
xaCommit
in interface ExtendedStatistics
public ExtendedStatistics.Operation<XaRollbackOutcome> xaRollback()
ExtendedStatistics
xaRollback
in interface ExtendedStatistics
public ExtendedStatistics.Operation<XaRecoveryOutcome> xaRecovery()
ExtendedStatistics
xaRecovery
in interface ExtendedStatistics
public ExtendedStatistics.Operation<CacheOperationOutcomes.EvictionOutcome> eviction()
ExtendedStatistics
eviction
in interface ExtendedStatistics
public ExtendedStatistics.Operation<CacheOperationOutcomes.ExpiredOutcome> expiry()
ExtendedStatistics
expiry
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Double> cacheHitRatio()
ExtendedStatistics
cacheHitRatio
in interface ExtendedStatistics
public ExtendedStatistics.Result allGet()
ExtendedStatistics
allGet
in interface ExtendedStatistics
public ExtendedStatistics.Result allMiss()
ExtendedStatistics
allMiss
in interface ExtendedStatistics
public ExtendedStatistics.Result allPut()
ExtendedStatistics
allPut
in interface ExtendedStatistics
public ExtendedStatistics.Result heapAllPut()
ExtendedStatistics
heapAllPut
in interface ExtendedStatistics
public ExtendedStatistics.Result offHeapAllPut()
ExtendedStatistics
offHeapAllPut
in interface ExtendedStatistics
public ExtendedStatistics.Result diskAllPut()
ExtendedStatistics
diskAllPut
in interface ExtendedStatistics
public <T extends Enum<T>> Set<ExtendedStatistics.Operation<T>> operations(Class<T> outcome, String name, String... tags)
ExtendedStatistics
operations
in interface ExtendedStatistics
T
- the generic typeoutcome
- the outcomename
- the nametags
- the tags
public ExtendedStatistics.Statistic<Number> localHeapSize()
ExtendedStatistics
localHeapSize
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Number> localHeapSizeInBytes()
ExtendedStatistics
localHeapSizeInBytes
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Number> localOffHeapSize()
ExtendedStatistics
localOffHeapSize
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Number> localOffHeapSizeInBytes()
ExtendedStatistics
localOffHeapSizeInBytes
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Number> localDiskSize()
ExtendedStatistics
localDiskSize
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Number> localDiskSizeInBytes()
ExtendedStatistics
localDiskSizeInBytes
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Number> remoteSize()
ExtendedStatistics
remoteSize
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Number> size()
ExtendedStatistics
size
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Number> writerQueueLength()
ExtendedStatistics
writerQueueLength
in interface ExtendedStatistics
public ExtendedStatistics.Operation<CacheOperationOutcomes.ClusterEventOutcomes> clusterEvent()
ExtendedStatistics
clusterEvent
in interface ExtendedStatistics
public ExtendedStatistics.Operation<CacheOperationOutcomes.NonStopOperationOutcomes> nonstop()
ExtendedStatistics
nonstop
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Number> mostRecentRejoinTimeStampMillis()
ExtendedStatistics
mostRecentRejoinTimeStampMillis
in interface ExtendedStatistics
public ExtendedStatistics.Statistic<Double> nonstopTimeoutRatio()
ExtendedStatistics
nonstopTimeoutRatio
in interface ExtendedStatistics
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |