|
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 unit| Method Detail |
|---|
public void setTimeToDisable(long time,
TimeUnit unit)
ExtendedStatistics
setTimeToDisable in interface ExtendedStatisticstime - the timeunit - the unitpublic void setAlwaysOn(boolean enabled)
ExtendedStatistics
setAlwaysOn in interface ExtendedStatisticsenabled - the new always onpublic ExtendedStatistics.Operation<CacheOperationOutcomes.GetOutcome> get()
ExtendedStatistics
get in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.PutOutcome> put()
ExtendedStatistics
put in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.RemoveOutcome> remove()
ExtendedStatistics
remove in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.SearchOutcome> search()
ExtendedStatistics
search in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> heapGet()
ExtendedStatistics
heapGet in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> heapPut()
ExtendedStatistics
heapPut in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> heapRemove()
ExtendedStatistics
heapRemove in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> offheapGet()
ExtendedStatistics
offheapGet in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> offheapPut()
ExtendedStatistics
offheapPut in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> offheapRemove()
ExtendedStatistics
offheapRemove in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> diskGet()
ExtendedStatistics
diskGet in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> diskPut()
ExtendedStatistics
diskPut in interface ExtendedStatisticspublic ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> diskRemove()
ExtendedStatistics
diskRemove in interface ExtendedStatisticspublic ExtendedStatistics.Operation<XaCommitOutcome> xaCommit()
ExtendedStatistics
xaCommit in interface ExtendedStatisticspublic ExtendedStatistics.Operation<XaRollbackOutcome> xaRollback()
ExtendedStatistics
xaRollback in interface ExtendedStatisticspublic ExtendedStatistics.Operation<XaRecoveryOutcome> xaRecovery()
ExtendedStatistics
xaRecovery in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.EvictionOutcome> eviction()
ExtendedStatistics
eviction in interface ExtendedStatisticspublic ExtendedStatistics.Operation<CacheOperationOutcomes.ExpiredOutcome> expiry()
ExtendedStatistics
expiry in interface ExtendedStatisticspublic ExtendedStatistics.Statistic<Double> cacheHitRatio()
ExtendedStatistics
cacheHitRatio in interface ExtendedStatisticspublic ExtendedStatistics.Result allGet()
ExtendedStatistics
allGet in interface ExtendedStatisticspublic ExtendedStatistics.Result allMiss()
ExtendedStatistics
allMiss in interface ExtendedStatisticspublic ExtendedStatistics.Result allPut()
ExtendedStatistics
allPut in interface ExtendedStatisticspublic ExtendedStatistics.Result heapAllPut()
ExtendedStatistics
heapAllPut in interface ExtendedStatisticspublic ExtendedStatistics.Result offHeapAllPut()
ExtendedStatistics
offHeapAllPut in interface ExtendedStatisticspublic 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 ExtendedStatisticsT - the generic typeoutcome - the outcomename - the nametags - the tags
public org.terracotta.statistics.ValueStatistic<Number> getLocalHeapSize()
ExtendedStatistics
getLocalHeapSize in interface ExtendedStatisticspublic org.terracotta.statistics.ValueStatistic<Number> getLocalHeapSizeInBytes()
ExtendedStatistics
getLocalHeapSizeInBytes in interface ExtendedStatisticspublic org.terracotta.statistics.ValueStatistic<Number> getLocalOffHeapSize()
ExtendedStatistics
getLocalOffHeapSize in interface ExtendedStatisticspublic org.terracotta.statistics.ValueStatistic<Number> getLocalOffHeapSizeInBytes()
ExtendedStatistics
getLocalOffHeapSizeInBytes in interface ExtendedStatisticspublic org.terracotta.statistics.ValueStatistic<Number> getLocalDiskSize()
ExtendedStatistics
getLocalDiskSize in interface ExtendedStatisticspublic org.terracotta.statistics.ValueStatistic<Number> getLocalDiskSizeInBytes()
ExtendedStatistics
getLocalDiskSizeInBytes in interface ExtendedStatisticspublic org.terracotta.statistics.ValueStatistic<Number> getRemoteSize()
ExtendedStatistics
getRemoteSize in interface ExtendedStatisticspublic org.terracotta.statistics.ValueStatistic<Number> getSize()
ExtendedStatistics
getSize in interface ExtendedStatisticspublic 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 | |||||||||