com.hazelcast.monitor
Interface LocalMapOperationStats

All Superinterfaces:
DataSerializable, LocalInstanceOperationStats, Serializable
All Known Implementing Classes:
LocalMapOperationStatsImpl

public interface LocalMapOperationStats
extends LocalInstanceOperationStats

Local Map Operation Statistics returns number of map operations in bounded period. The period has start and end times. Given the number of operations in that period, one can calculate the number of operations per second.


Method Summary
 long getNumberOfEvents()
          Returns the number of Events Received
 long getNumberOfGets()
          Returns the number of get operations
 long getNumberOfOtherOperations()
          Returns the total number of Other Operations
 long getNumberOfPuts()
          Returns the number of put operations
 long getNumberOfRemoves()
          Returns the number of Remove operations
 long getTotalGetLatency()
          Returns the total latency of get operations in this period.
 long getTotalPutLatency()
          Returns the total latency of put operations in this period.
 long getTotalRemoveLatency()
          Returns the total latency of remove operations in this period.
 long total()
          Returns the total number of total operations
 
Methods inherited from interface com.hazelcast.monitor.LocalInstanceOperationStats
getPeriodEnd, getPeriodStart
 
Methods inherited from interface com.hazelcast.nio.DataSerializable
readData, writeData
 

Method Detail

getNumberOfPuts

long getNumberOfPuts()
Returns the number of put operations

Returns:
number of put operations

getNumberOfGets

long getNumberOfGets()
Returns the number of get operations

Returns:
number of get operations

getTotalPutLatency

long getTotalPutLatency()
Returns the total latency of put operations in this period. To get the average latency, divide to number of puts

Returns:

getTotalGetLatency

long getTotalGetLatency()
Returns the total latency of get operations in this period. To get the average latency, divide to number of gets

Returns:

getTotalRemoveLatency

long getTotalRemoveLatency()
Returns the total latency of remove operations in this period. To get the average latency, divide to number of gets

Returns:

getNumberOfRemoves

long getNumberOfRemoves()
Returns the number of Remove operations

Returns:
number of remove operations

getNumberOfEvents

long getNumberOfEvents()
Returns the number of Events Received

Returns:
number of events received

getNumberOfOtherOperations

long getNumberOfOtherOperations()
Returns the total number of Other Operations

Returns:
number of other operations

total

long total()
Returns the total number of total operations

Returns:
number of total operations


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.