Top Description Fields Constructors Methods
net.sf.ehcache.statistics

public Class CoreStatisticsImpl

extends Object
implements CoreStatistics
Class Inheritance
All Implemented Interfaces
net.sf.ehcache.statistics.CoreStatistics
Imports
net.sf.ehcache.CacheOperationOutcomes, .CacheOperationOutcomes.ClusterEventOutcomes, .CacheOperationOutcomes.EvictionOutcome, .CacheOperationOutcomes.ExpiredOutcome, net.sf.ehcache.statistics.extended.ExtendedStatistics, .ExtendedStatistics.Operation, net.sf.ehcache.store.StoreOperationOutcomes.GetOutcome, .StoreOperationOutcomes.PutOutcome, .StoreOperationOutcomes.RemoveOutcome, net.sf.ehcache.transaction.xa.XaCommitOutcome, .XaRecoveryOutcome, .XaRollbackOutcome, java.util.Arrays, .EnumSet

The CoreStatisticsImpl class.
Author
cschanck

Field Summary

Modifier and TypeField and Description
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final ExtendedStatistics
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>
private final CoreStatistics.CountOperation<T>

Constructor Summary

AccessConstructor and Description
public
CoreStatisticsImpl(ExtendedStatistics
the extended
extended
)

Instantiates a new core statistics impl.

Method Summary

Modifier and TypeMethod and Description
private static <T extends Enum<T>> CoreStatistics.CountOperation<T>
public CoreStatistics.CountOperation<CacheOperationOutcomes.ClusterEventOutcomes>
public CoreStatistics.CountOperation<CacheOperationOutcomes.EvictionOutcome>
public CoreStatistics.CountOperation<CacheOperationOutcomes.ExpiredOutcome>
public CoreStatistics.CountOperation<CacheOperationOutcomes.GetOutcome>
public CoreStatistics.CountOperation<StoreOperationOutcomes.GetOutcome>
public CoreStatistics.CountOperation<StoreOperationOutcomes.PutOutcome>
public CoreStatistics.CountOperation<StoreOperationOutcomes.RemoveOutcome>
public CoreStatistics.CountOperation<StoreOperationOutcomes.GetOutcome>
public CoreStatistics.CountOperation<StoreOperationOutcomes.PutOutcome>
public CoreStatistics.CountOperation<StoreOperationOutcomes.RemoveOutcome>
public CoreStatistics.CountOperation<StoreOperationOutcomes.GetOutcome>
public CoreStatistics.CountOperation<StoreOperationOutcomes.PutOutcome>
public CoreStatistics.CountOperation<StoreOperationOutcomes.RemoveOutcome>
public CoreStatistics.CountOperation<CacheOperationOutcomes.PutOutcome>
public CoreStatistics.CountOperation<CacheOperationOutcomes.PutIfAbsentOutcome>
putIfAbsent()

Implements net.sf.ehcache.statistics.CoreStatistics.putIfAbsent.

The put if absent operation.
public CoreStatistics.CountOperation<CacheOperationOutcomes.RemoveOutcome>
public CoreStatistics.CountOperation<CacheOperationOutcomes.RemoveElementOutcome>
removeElement()

Implements net.sf.ehcache.statistics.CoreStatistics.removeElement.

The remove element operation.
public CoreStatistics.CountOperation<CacheOperationOutcomes.ReplaceOneArgOutcome>
replaceOneArg()

Implements net.sf.ehcache.statistics.CoreStatistics.replaceOneArg.

The single arg replace operation.
public CoreStatistics.CountOperation<CacheOperationOutcomes.ReplaceTwoArgOutcome>
replaceTwoArg()

Implements net.sf.ehcache.statistics.CoreStatistics.replaceTwoArg.

The two arg replace operation.
public CoreStatistics.CountOperation<XaCommitOutcome>
public CoreStatistics.CountOperation<XaRecoveryOutcome>
public CoreStatistics.CountOperation<XaRollbackOutcome>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cacheClusterEventback to summary
private final CoreStatistics.CountOperation<T> cacheClusterEvent
cacheGetback to summary
private final CoreStatistics.CountOperation<T> cacheGet
cachePutback to summary
private final CoreStatistics.CountOperation<T> cachePut
cachePutIfAbsentback to summary
private final CoreStatistics.CountOperation<T> cachePutIfAbsent
cacheRemoveback to summary
private final CoreStatistics.CountOperation<T> cacheRemove
cacheRemoveElementback to summary
private final CoreStatistics.CountOperation<T> cacheRemoveElement
cacheReplace1back to summary
private final CoreStatistics.CountOperation<T> cacheReplace1
cacheReplace2back to summary
private final CoreStatistics.CountOperation<T> cacheReplace2
evictedback to summary
private final CoreStatistics.CountOperation<T> evicted
expiredback to summary
private final CoreStatistics.CountOperation<T> expired
extendedback to summary
private final ExtendedStatistics extended
localDiskGetback to summary
private final CoreStatistics.CountOperation<T> localDiskGet
localDiskPutback to summary
private final CoreStatistics.CountOperation<T> localDiskPut
localDiskRemoveback to summary
private final CoreStatistics.CountOperation<T> localDiskRemove
localHeapGetback to summary
private final CoreStatistics.CountOperation<T> localHeapGet
localHeapPutback to summary
private final CoreStatistics.CountOperation<T> localHeapPut
localHeapRemoveback to summary
private final CoreStatistics.CountOperation<T> localHeapRemove
localOffHeapGetback to summary
private final CoreStatistics.CountOperation<T> localOffHeapGet
localOffHeapPutback to summary
private final CoreStatistics.CountOperation<T> localOffHeapPut
localOffHeapRemoveback to summary
private final CoreStatistics.CountOperation<T> localOffHeapRemove
xaCommitback to summary
private final CoreStatistics.CountOperation<T> xaCommit
xaRecoveryback to summary
private final CoreStatistics.CountOperation<T> xaRecovery
xaRollbackback to summary
private final CoreStatistics.CountOperation<T> xaRollback

Constructor Detail

CoreStatisticsImplback to summary
public CoreStatisticsImpl(ExtendedStatistics extended)

Instantiates a new core statistics impl.

Parameters
extended:ExtendedStatistics

the extended

Method Detail

asCountOperationback to summary
private static <T extends Enum<T>> CoreStatistics.CountOperation<T> asCountOperation(final ExtendedStatistics.Operation<T> compoundOp)
cacheClusterEventback to summary
public CoreStatistics.CountOperation<CacheOperationOutcomes.ClusterEventOutcomes> cacheClusterEvent()

Implements net.sf.ehcache.statistics.CoreStatistics.cacheClusterEvent.

Doc from net.sf.ehcache.statistics.CoreStatistics.cacheClusterEvent.

Cache cluster event.

Returns:CoreStatistics.CountOperation<CacheOperationOutcomes.ClusterEventOutcomes>

the count operation

Annotations
@Override
cacheEvictionback to summary
public CoreStatistics.CountOperation<CacheOperationOutcomes.EvictionOutcome> cacheEviction()

Implements net.sf.ehcache.statistics.CoreStatistics.cacheEviction.

Doc from net.sf.ehcache.statistics.CoreStatistics.cacheEviction.

Cache eviction.

Returns:CoreStatistics.CountOperation<CacheOperationOutcomes.EvictionOutcome>

the count operation

Annotations
@Override
cacheExpirationback to summary
public CoreStatistics.CountOperation<CacheOperationOutcomes.ExpiredOutcome> cacheExpiration()

Implements net.sf.ehcache.statistics.CoreStatistics.cacheExpiration.

Doc from net.sf.ehcache.statistics.CoreStatistics.cacheExpiration.

Cache expiration.

Returns:CoreStatistics.CountOperation<CacheOperationOutcomes.ExpiredOutcome>

the count operation

Annotations
@Override
getback to summary
public CoreStatistics.CountOperation<CacheOperationOutcomes.GetOutcome> get()

Implements net.sf.ehcache.statistics.CoreStatistics.get.

Doc from net.sf.ehcache.statistics.CoreStatistics.get.

Gets the.

Returns:CoreStatistics.CountOperation<CacheOperationOutcomes.GetOutcome>

the count operation

Annotations
@Override
localDiskGetback to summary
public CoreStatistics.CountOperation<StoreOperationOutcomes.GetOutcome> localDiskGet()

Implements net.sf.ehcache.statistics.CoreStatistics.localDiskGet.

Doc from net.sf.ehcache.statistics.CoreStatistics.localDiskGet.

Local disk get.

Returns:CoreStatistics.CountOperation<StoreOperationOutcomes.GetOutcome>

the count operation

Annotations
@Override
localDiskPutback to summary
public CoreStatistics.CountOperation<StoreOperationOutcomes.PutOutcome> localDiskPut()

Implements net.sf.ehcache.statistics.CoreStatistics.localDiskPut.

Doc from net.sf.ehcache.statistics.CoreStatistics.localDiskPut.

Local disk put.

Returns:CoreStatistics.CountOperation<StoreOperationOutcomes.PutOutcome>

the count operation

Annotations
@Override
localDiskRemoveback to summary
public CoreStatistics.CountOperation<StoreOperationOutcomes.RemoveOutcome> localDiskRemove()

Implements net.sf.ehcache.statistics.CoreStatistics.localDiskRemove.

Doc from net.sf.ehcache.statistics.CoreStatistics.localDiskRemove.

Local disk remove.

Returns:CoreStatistics.CountOperation<StoreOperationOutcomes.RemoveOutcome>

the count operation

Annotations
@Override
localHeapGetback to summary
public CoreStatistics.CountOperation<StoreOperationOutcomes.GetOutcome> localHeapGet()

Implements net.sf.ehcache.statistics.CoreStatistics.localHeapGet.

Doc from net.sf.ehcache.statistics.CoreStatistics.localHeapGet.

Local heap get.

Returns:CoreStatistics.CountOperation<StoreOperationOutcomes.GetOutcome>

the count operation

Annotations
@Override
localHeapPutback to summary
public CoreStatistics.CountOperation<StoreOperationOutcomes.PutOutcome> localHeapPut()

Implements net.sf.ehcache.statistics.CoreStatistics.localHeapPut.

Doc from net.sf.ehcache.statistics.CoreStatistics.localHeapPut.

Local heap put.

Returns:CoreStatistics.CountOperation<StoreOperationOutcomes.PutOutcome>

the count operation

Annotations
@Override
localHeapRemoveback to summary
public CoreStatistics.CountOperation<StoreOperationOutcomes.RemoveOutcome> localHeapRemove()

Implements net.sf.ehcache.statistics.CoreStatistics.localHeapRemove.

Doc from net.sf.ehcache.statistics.CoreStatistics.localHeapRemove.

Local heap remove.

Returns:CoreStatistics.CountOperation<StoreOperationOutcomes.RemoveOutcome>

the count operation

Annotations
@Override
localOffHeapGetback to summary
public CoreStatistics.CountOperation<StoreOperationOutcomes.GetOutcome> localOffHeapGet()

Implements net.sf.ehcache.statistics.CoreStatistics.localOffHeapGet.

Doc from net.sf.ehcache.statistics.CoreStatistics.localOffHeapGet.

Local off heap get.

Returns:CoreStatistics.CountOperation<StoreOperationOutcomes.GetOutcome>

the count operation

Annotations
@Override
localOffHeapPutback to summary
public CoreStatistics.CountOperation<StoreOperationOutcomes.PutOutcome> localOffHeapPut()

Implements net.sf.ehcache.statistics.CoreStatistics.localOffHeapPut.

Doc from net.sf.ehcache.statistics.CoreStatistics.localOffHeapPut.

Local off heap put.

Returns:CoreStatistics.CountOperation<StoreOperationOutcomes.PutOutcome>

the count operation

Annotations
@Override
localOffHeapRemoveback to summary
public CoreStatistics.CountOperation<StoreOperationOutcomes.RemoveOutcome> localOffHeapRemove()

Implements net.sf.ehcache.statistics.CoreStatistics.localOffHeapRemove.

Doc from net.sf.ehcache.statistics.CoreStatistics.localOffHeapRemove.

Local off heap remove.

Returns:CoreStatistics.CountOperation<StoreOperationOutcomes.RemoveOutcome>

the count operation

Annotations
@Override
putback to summary
public CoreStatistics.CountOperation<CacheOperationOutcomes.PutOutcome> put()

Implements net.sf.ehcache.statistics.CoreStatistics.put.

Doc from net.sf.ehcache.statistics.CoreStatistics.put.

Put.

Returns:CoreStatistics.CountOperation<CacheOperationOutcomes.PutOutcome>

the count operation

Annotations
@Override
putIfAbsentback to summary
public CoreStatistics.CountOperation<CacheOperationOutcomes.PutIfAbsentOutcome> putIfAbsent()

Implements net.sf.ehcache.statistics.CoreStatistics.putIfAbsent.

Doc from net.sf.ehcache.statistics.CoreStatistics.putIfAbsent.

The put if absent operation.

Returns:CoreStatistics.CountOperation<CacheOperationOutcomes.PutIfAbsentOutcome>

the count operation

Annotations
@Override
removeback to summary
public CoreStatistics.CountOperation<CacheOperationOutcomes.RemoveOutcome> remove()

Implements net.sf.ehcache.statistics.CoreStatistics.remove.

Doc from net.sf.ehcache.statistics.CoreStatistics.remove.

Remove operation.

Returns:CoreStatistics.CountOperation<CacheOperationOutcomes.RemoveOutcome>

the count operation

Annotations
@Override
removeElementback to summary
public CoreStatistics.CountOperation<CacheOperationOutcomes.RemoveElementOutcome> removeElement()

Implements net.sf.ehcache.statistics.CoreStatistics.removeElement.

Doc from net.sf.ehcache.statistics.CoreStatistics.removeElement.

The remove element operation.

Returns:CoreStatistics.CountOperation<CacheOperationOutcomes.RemoveElementOutcome>

the count operation

Annotations
@Override
replaceOneArgback to summary
public CoreStatistics.CountOperation<CacheOperationOutcomes.ReplaceOneArgOutcome> replaceOneArg()

Implements net.sf.ehcache.statistics.CoreStatistics.replaceOneArg.

Doc from net.sf.ehcache.statistics.CoreStatistics.replaceOneArg.

The single arg replace operation.

Returns:CoreStatistics.CountOperation<CacheOperationOutcomes.ReplaceOneArgOutcome>

the count operation

Annotations
@Override
replaceTwoArgback to summary
public CoreStatistics.CountOperation<CacheOperationOutcomes.ReplaceTwoArgOutcome> replaceTwoArg()

Implements net.sf.ehcache.statistics.CoreStatistics.replaceTwoArg.

Doc from net.sf.ehcache.statistics.CoreStatistics.replaceTwoArg.

The two arg replace operation.

Returns:CoreStatistics.CountOperation<CacheOperationOutcomes.ReplaceTwoArgOutcome>

the count operation

Annotations
@Override
xaCommitback to summary
public CoreStatistics.CountOperation<XaCommitOutcome> xaCommit()

Implements net.sf.ehcache.statistics.CoreStatistics.xaCommit.

Doc from net.sf.ehcache.statistics.CoreStatistics.xaCommit.

Xa commit.

Returns:CoreStatistics.CountOperation<XaCommitOutcome>

the count operation

xaRecoveryback to summary
public CoreStatistics.CountOperation<XaRecoveryOutcome> xaRecovery()

Implements net.sf.ehcache.statistics.CoreStatistics.xaRecovery.

Doc from net.sf.ehcache.statistics.CoreStatistics.xaRecovery.

Xa recovery.

Returns:CoreStatistics.CountOperation<XaRecoveryOutcome>

the count operation

Annotations
@Override
xaRollbackback to summary
public CoreStatistics.CountOperation<XaRollbackOutcome> xaRollback()

Implements net.sf.ehcache.statistics.CoreStatistics.xaRollback.

Doc from net.sf.ehcache.statistics.CoreStatistics.xaRollback.

Xa rollback.

Returns:CoreStatistics.CountOperation<XaRollbackOutcome>

the count operation

Annotations
@Override