/** * Instantiates a new core statistics impl. * * @param extended the extended */ public CoreStatisticsImpl(ExtendedStatistics extended) { this.extended = extended; this.cacheGet = asCountOperation(extended.get()); this.cachePut = asCountOperation(extended.put()); this.cacheRemove = asCountOperation(extended.remove()); this.cacheReplace1 = asCountOperation(extended.replaceOneArg()); this.cacheReplace2 = asCountOperation(extended.replaceOneArg()); this.cachePutIfAbsent = asCountOperation(extended.putIfAbsent()); this.cacheRemoveElement = asCountOperation(extended.removeElement()); this.localHeapGet = asCountOperation(extended.heapGet()); this.localHeapPut = asCountOperation(extended.heapPut()); this.localHeapRemove = asCountOperation(extended.heapRemove()); this.localOffHeapGet = asCountOperation(extended.offheapGet()); this.localOffHeapPut = asCountOperation(extended.offheapPut()); this.localOffHeapRemove = asCountOperation(extended.offheapRemove()); this.localDiskGet = asCountOperation(extended.diskGet()); this.localDiskPut = asCountOperation(extended.diskPut()); this.localDiskRemove = asCountOperation(extended.diskRemove()); this.xaCommit = asCountOperation(extended.xaCommit()); this.xaRecovery = asCountOperation(extended.xaRecovery()); this.xaRollback = asCountOperation(extended.xaRollback()); this.evicted = asCountOperation(extended.eviction()); this.expired = asCountOperation(extended.expiry()); this.cacheClusterEvent = asCountOperation(extended.clusterEvent()); }
/** * Instantiates a new core statistics impl. * * @param extended the extended */ public CoreStatisticsImpl(ExtendedStatistics extended) { this.extended = extended; this.cacheGet = asCountOperation(extended.get()); this.cachePut = asCountOperation(extended.put()); this.cacheRemove = asCountOperation(extended.remove()); this.cacheReplace1 = asCountOperation(extended.replaceOneArg()); this.cacheReplace2 = asCountOperation(extended.replaceOneArg()); this.cachePutIfAbsent = asCountOperation(extended.putIfAbsent()); this.cacheRemoveElement = asCountOperation(extended.removeElement()); this.localHeapGet = asCountOperation(extended.heapGet()); this.localHeapPut = asCountOperation(extended.heapPut()); this.localHeapRemove = asCountOperation(extended.heapRemove()); this.localOffHeapGet = asCountOperation(extended.offheapGet()); this.localOffHeapPut = asCountOperation(extended.offheapPut()); this.localOffHeapRemove = asCountOperation(extended.offheapRemove()); this.localDiskGet = asCountOperation(extended.diskGet()); this.localDiskPut = asCountOperation(extended.diskPut()); this.localDiskRemove = asCountOperation(extended.diskRemove()); this.xaCommit = asCountOperation(extended.xaCommit()); this.xaRecovery = asCountOperation(extended.xaRecovery()); this.xaRollback = asCountOperation(extended.xaRollback()); this.evicted = asCountOperation(extended.eviction()); this.expired = asCountOperation(extended.expiry()); this.cacheClusterEvent = asCountOperation(extended.clusterEvent()); }
/** * Instantiates a new core statistics impl. * * @param extended the extended */ public CoreStatisticsImpl(ExtendedStatistics extended) { this.extended = extended; this.cacheGet = asCountOperation(extended.get()); this.cachePut = asCountOperation(extended.put()); this.cacheRemove = asCountOperation(extended.remove()); this.cacheReplace1 = asCountOperation(extended.replaceOneArg()); this.cacheReplace2 = asCountOperation(extended.replaceOneArg()); this.cachePutIfAbsent = asCountOperation(extended.putIfAbsent()); this.cacheRemoveElement = asCountOperation(extended.removeElement()); this.localHeapGet = asCountOperation(extended.heapGet()); this.localHeapPut = asCountOperation(extended.heapPut()); this.localHeapRemove = asCountOperation(extended.heapRemove()); this.localOffHeapGet = asCountOperation(extended.offheapGet()); this.localOffHeapPut = asCountOperation(extended.offheapPut()); this.localOffHeapRemove = asCountOperation(extended.offheapRemove()); this.localDiskGet = asCountOperation(extended.diskGet()); this.localDiskPut = asCountOperation(extended.diskPut()); this.localDiskRemove = asCountOperation(extended.diskRemove()); this.xaCommit = asCountOperation(extended.xaCommit()); this.xaRecovery = asCountOperation(extended.xaRecovery()); this.xaRollback = asCountOperation(extended.xaRollback()); this.evicted = asCountOperation(extended.eviction()); this.expired = asCountOperation(extended.expiry()); this.cacheClusterEvent = asCountOperation(extended.clusterEvent()); }