|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.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)
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)
manager
- the managerexecutor
- the executortimeToDisable
- the time to disableunit
- the unitMethod Detail |
---|
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 org.terracotta.statistics.ValueStatistic<Number> getLocalHeapSize()
ExtendedStatistics
getLocalHeapSize
in interface ExtendedStatistics
public org.terracotta.statistics.ValueStatistic<Number> getLocalHeapSizeInBytes()
ExtendedStatistics
getLocalHeapSizeInBytes
in interface ExtendedStatistics
public org.terracotta.statistics.ValueStatistic<Number> getLocalOffHeapSize()
ExtendedStatistics
getLocalOffHeapSize
in interface ExtendedStatistics
public org.terracotta.statistics.ValueStatistic<Number> getLocalOffHeapSizeInBytes()
ExtendedStatistics
getLocalOffHeapSizeInBytes
in interface ExtendedStatistics
public org.terracotta.statistics.ValueStatistic<Number> getLocalDiskSize()
ExtendedStatistics
getLocalDiskSize
in interface ExtendedStatistics
public org.terracotta.statistics.ValueStatistic<Number> getLocalDiskSizeInBytes()
ExtendedStatistics
getLocalDiskSizeInBytes
in interface ExtendedStatistics
public org.terracotta.statistics.ValueStatistic<Number> getRemoteSize()
ExtendedStatistics
getRemoteSize
in interface ExtendedStatistics
public org.terracotta.statistics.ValueStatistic<Number> getSize()
ExtendedStatistics
getSize
in interface ExtendedStatistics
public org.terracotta.statistics.ValueStatistic<Number> getWriterQueueLength()
ExtendedStatistics
getWriterQueueLength
in interface ExtendedStatistics
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |