public class PartitionIndexOperationStats extends Object implements IndexOperationStats
EMPTY| Constructor and Description | 
|---|
| PartitionIndexOperationStats() | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getEntryCountDelta()Returns the indexed entry count delta produced as a result of an index
 operation. | 
| long | getMemoryCostDelta()Returns the memory cost delta produced as a result of an index operation. | 
| void | onEntryAdded(Object replacedValue,
            Object addedValue)Invoked by the associated index on every entry addition. | 
| void | onEntryRemoved(Object removedValue)Invoked by the associated index on every entry removal. | 
| void | reset()Resets this stats instance to be ready for reuse. | 
public long getEntryCountDelta()
IndexOperationStatsgetEntryCountDelta in interface IndexOperationStatspublic long getMemoryCostDelta()
IndexOperationStatsgetMemoryCostDelta in interface IndexOperationStatspublic void onEntryAdded(Object replacedValue, Object addedValue)
IndexOperationStatsonEntryAdded in interface IndexOperationStatsreplacedValue - the old replaced value or null if no value
                      was associated with an index key for which an
                      operation was performed.addedValue - the new added value.public void onEntryRemoved(Object removedValue)
IndexOperationStatsonEntryRemoved in interface IndexOperationStatsremovedValue - the old removed value or null if no value
                     was associated with an index key for which an
                     operation was performed.public void reset()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.