Interface ExtendedStatistics
-
- All Known Implementing Classes:
ExtendedStatisticsImpl
public interface ExtendedStatisticsThe ExtendedStatistics interface.- Author:
- cschanck
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceExtendedStatistics.LatencyThe Latency interface.static interfaceExtendedStatistics.Operation<T extends java.lang.Enum<T>>The Interface Operation.static interfaceExtendedStatistics.ResultThe Interface Result.static interfaceExtendedStatistics.Statistic<T extends java.lang.Number>The Interface Statistic.
-
Field Summary
Fields Modifier and Type Field Description static java.util.Set<CacheOperationOutcomes.GetOutcome>ALL_CACHE_GET_OUTCOMESThe Constant ALL_CACHE_GET_OUTCOMES.static java.util.Set<CacheOperationOutcomes.GetOutcome>ALL_CACHE_MISS_OUTCOMESThe Constant ALL_CACHE_MISS_OUTCOMES.static java.util.Set<CacheOperationOutcomes.PutOutcome>ALL_CACHE_PUT_OUTCOMESThe Constant ALL_CACHE_PUT_OUTCOMES.static java.util.Set<StoreOperationOutcomes.PutOutcome>ALL_STORE_PUT_OUTCOMESThe Constant ALL_STORE_PUT_OUTCOMES.
-
Method Summary
-
-
-
Field Detail
-
ALL_CACHE_PUT_OUTCOMES
static final java.util.Set<CacheOperationOutcomes.PutOutcome> ALL_CACHE_PUT_OUTCOMES
The Constant ALL_CACHE_PUT_OUTCOMES.
-
ALL_CACHE_GET_OUTCOMES
static final java.util.Set<CacheOperationOutcomes.GetOutcome> ALL_CACHE_GET_OUTCOMES
The Constant ALL_CACHE_GET_OUTCOMES.
-
ALL_CACHE_MISS_OUTCOMES
static final java.util.Set<CacheOperationOutcomes.GetOutcome> ALL_CACHE_MISS_OUTCOMES
The Constant ALL_CACHE_MISS_OUTCOMES.
-
ALL_STORE_PUT_OUTCOMES
static final java.util.Set<StoreOperationOutcomes.PutOutcome> ALL_STORE_PUT_OUTCOMES
The Constant ALL_STORE_PUT_OUTCOMES.
-
-
Method Detail
-
setTimeToDisable
void setTimeToDisable(long time, java.util.concurrent.TimeUnit unit)Sets the time to disable.- Parameters:
time- the timeunit- the unit
-
setAlwaysOn
void setAlwaysOn(boolean alwaysOn)
Sets the always on.- Parameters:
alwaysOn- the new always on
-
get
ExtendedStatistics.Operation<CacheOperationOutcomes.GetOutcome> get()
Gets the.- Returns:
- the operation
-
put
ExtendedStatistics.Operation<CacheOperationOutcomes.PutOutcome> put()
Put.- Returns:
- the operation
-
remove
ExtendedStatistics.Operation<CacheOperationOutcomes.RemoveOutcome> remove()
Removes the.- Returns:
- the operation
-
replaceOneArg
ExtendedStatistics.Operation<CacheOperationOutcomes.ReplaceOneArgOutcome> replaceOneArg()
single arg replace operation- Returns:
-
replaceTwoArg
ExtendedStatistics.Operation<CacheOperationOutcomes.ReplaceTwoArgOutcome> replaceTwoArg()
two arg replace operation- Returns:
-
putIfAbsent
ExtendedStatistics.Operation<CacheOperationOutcomes.PutIfAbsentOutcome> putIfAbsent()
put if absent operation- Returns:
-
removeElement
ExtendedStatistics.Operation<CacheOperationOutcomes.RemoveElementOutcome> removeElement()
remove element operation- Returns:
-
heapGet
ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> heapGet()
Heap get.- Returns:
- the operation
-
offheapGet
ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> offheapGet()
Offheap get.- Returns:
- the operation
-
diskGet
ExtendedStatistics.Operation<StoreOperationOutcomes.GetOutcome> diskGet()
Disk get.- Returns:
- the operation
-
heapPut
ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> heapPut()
Heap put.- Returns:
- the operation
-
offheapPut
ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> offheapPut()
Offheap put.- Returns:
- the operation
-
diskPut
ExtendedStatistics.Operation<StoreOperationOutcomes.PutOutcome> diskPut()
Disk put.- Returns:
- the operation
-
heapRemove
ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> heapRemove()
Heap remove.- Returns:
- the operation
-
offheapRemove
ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> offheapRemove()
Offheap remove.- Returns:
- the operation
-
diskRemove
ExtendedStatistics.Operation<StoreOperationOutcomes.RemoveOutcome> diskRemove()
Disk remove.- Returns:
- the operation
-
search
ExtendedStatistics.Operation<CacheOperationOutcomes.SearchOutcome> search()
Search.- Returns:
- the operation
-
xaCommit
ExtendedStatistics.Operation<XaCommitOutcome> xaCommit()
Xa commit.- Returns:
- the operation
-
xaRollback
ExtendedStatistics.Operation<XaRollbackOutcome> xaRollback()
Xa rollback.- Returns:
- the operation
-
xaRecovery
ExtendedStatistics.Operation<XaRecoveryOutcome> xaRecovery()
Xa recovery.- Returns:
- the operation
-
eviction
ExtendedStatistics.Operation<CacheOperationOutcomes.EvictionOutcome> eviction()
Eviction.- Returns:
- the operation
-
expiry
ExtendedStatistics.Operation<CacheOperationOutcomes.ExpiredOutcome> expiry()
Expiry.- Returns:
- the operation
-
clusterEvent
ExtendedStatistics.Operation<CacheOperationOutcomes.ClusterEventOutcomes> clusterEvent()
Cluster events- Returns:
- the operation
-
nonstop
ExtendedStatistics.Operation<CacheOperationOutcomes.NonStopOperationOutcomes> nonstop()
Nonstop events- Returns:
- the operation
-
allGet
ExtendedStatistics.Result allGet()
All get.- Returns:
- the result
-
allMiss
ExtendedStatistics.Result allMiss()
All miss.- Returns:
- the result
-
allPut
ExtendedStatistics.Result allPut()
All put.- Returns:
- the result
-
heapAllPut
ExtendedStatistics.Result heapAllPut()
Heap all put.- Returns:
- the result
-
offHeapAllPut
ExtendedStatistics.Result offHeapAllPut()
Off heap all put.- Returns:
- the result
-
diskAllPut
ExtendedStatistics.Result diskAllPut()
Disk all put.- Returns:
- the result
-
cacheHitRatio
ExtendedStatistics.Statistic<java.lang.Double> cacheHitRatio()
Cache hit ratio.- Returns:
-
nonstopTimeoutRatio
ExtendedStatistics.Statistic<java.lang.Double> nonstopTimeoutRatio()
Nonstop timeout ratio- Returns:
-
operations
<T extends java.lang.Enum<T>> java.util.Set<ExtendedStatistics.Operation<T>> operations(java.lang.Class<T> outcome, java.lang.String name, java.lang.String... tags)
Operations.- Type Parameters:
T- the generic type- Parameters:
outcome- the outcomename- the nametags- the tags- Returns:
- the sets the
-
passthru
java.util.Set<ExtendedStatistics.Statistic<java.lang.Number>> passthru(java.lang.String name, java.util.Set<java.lang.String> tags)
Get the set of cache specific pass thru statistics for a nam/tags pair. Used for custom pass thru statistics, as opposed to well known standard ones.- Parameters:
name- nametags- set of tags- Returns:
-
size
ExtendedStatistics.Statistic<java.lang.Number> size()
Gets the size.- Returns:
- the size
-
localHeapSize
ExtendedStatistics.Statistic<java.lang.Number> localHeapSize()
Gets the local heap size.- Returns:
- the local heap size
-
localHeapSizeInBytes
ExtendedStatistics.Statistic<java.lang.Number> localHeapSizeInBytes()
Gets the local heap size in bytes.- Returns:
- the local heap size in bytes
-
localOffHeapSize
ExtendedStatistics.Statistic<java.lang.Number> localOffHeapSize()
Gets the local off heap size.- Returns:
- the local off heap size
-
localOffHeapSizeInBytes
ExtendedStatistics.Statistic<java.lang.Number> localOffHeapSizeInBytes()
Gets the local off heap size in bytes.- Returns:
- the local off heap size in bytes
-
localDiskSize
ExtendedStatistics.Statistic<java.lang.Number> localDiskSize()
Gets the local disk size.- Returns:
- the local disk size
-
localDiskSizeInBytes
ExtendedStatistics.Statistic<java.lang.Number> localDiskSizeInBytes()
Gets the local disk size in bytes.- Returns:
- the local disk size in bytes
-
remoteSize
ExtendedStatistics.Statistic<java.lang.Number> remoteSize()
Gets the remote size.- Returns:
- the remote size
-
writerQueueLength
ExtendedStatistics.Statistic<java.lang.Number> writerQueueLength()
Gets the writer queue length.- Returns:
- the writer queue length
-
mostRecentRejoinTimeStampMillis
ExtendedStatistics.Statistic<java.lang.Number> mostRecentRejoinTimeStampMillis()
Get the timestamp (millis) of the last cluster rejoin event- Returns:
- statistic for cluster rejoin timestamp
-
-