/hazelcast/src/main/java/com/hazelcast/monitor/LocalMapOperationStats.java
https://bitbucket.org/gabral6_gmailcom/hazelcast · Java · 88 lines · 12 code · 11 blank · 65 comment · 0 complexity · 03a613b4954a028fe0223e152d12e954 MD5 · raw file
- /*
- * Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- package com.hazelcast.monitor;
- /**
- * 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.
- */
- public interface LocalMapOperationStats extends LocalInstanceOperationStats {
- /**
- * Returns the number of put operations
- *
- * @return number of put operations
- */
- public long getNumberOfPuts();
- /**
- * Returns the number of get operations
- *
- * @return number of get operations
- */
- public long getNumberOfGets();
- /**
- * Returns the total latency of put operations in this period. To get the average latency, divide to number of puts
- *
- * @return
- */
- public long getTotalPutLatency();
- /**
- * Returns the total latency of get operations in this period. To get the average latency, divide to number of gets
- *
- * @return
- */
- public long getTotalGetLatency();
- /**
- * Returns the total latency of remove operations in this period. To get the average latency, divide to number of gets
- *
- * @return
- */
- public long getTotalRemoveLatency();
- /**
- * Returns the number of Remove operations
- *
- * @return number of remove operations
- */
- public long getNumberOfRemoves();
- /**
- * Returns the number of Events Received
- *
- * @return number of events received
- */
- public long getNumberOfEvents();
- /**
- * Returns the total number of Other Operations
- *
- * @return number of other operations
- */
- public long getNumberOfOtherOperations();
- /**
- * Returns the total number of total operations
- *
- * @return number of total operations
- */
- public long total();
- }