com.hazelcast.monitor.impl
Class LocalExecutorStatsImpl

java.lang.Object
  extended by com.hazelcast.monitor.impl.LocalExecutorStatsImpl
All Implemented Interfaces:
JsonSerializable, LocalExecutorStats, LocalInstanceStats

public class LocalExecutorStatsImpl
extends Object
implements LocalExecutorStats


Field Summary
 
Fields inherited from interface com.hazelcast.monitor.LocalInstanceStats
STAT_NOT_AVAILABLE
 
Constructor Summary
LocalExecutorStatsImpl()
           
 
Method Summary
 void cancelExecution()
           
 void finishExecution(long elapsed)
           
 void fromJson(com.eclipsesource.json.JsonObject json)
           
 long getCancelledTaskCount()
          Returns the number of cancelled operations of the executor service
 long getCompletedTaskCount()
          Returns the number of completed operations of the executor service
 long getCreationTime()
           
 long getPendingTaskCount()
          Returns the number of pending operations of the executor service
 long getStartedTaskCount()
          Returns the number of started operations of the executor service
 long getTotalExecutionLatency()
          Returns the total execution time of operations finished
 long getTotalStartLatency()
          Returns the total start latency of operations started
 void rejectExecution()
           
 void startExecution(long elapsed)
           
 void startPending()
           
 com.eclipsesource.json.JsonObject toJson()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalExecutorStatsImpl

public LocalExecutorStatsImpl()
Method Detail

startPending

public void startPending()

startExecution

public void startExecution(long elapsed)

finishExecution

public void finishExecution(long elapsed)

rejectExecution

public void rejectExecution()

cancelExecution

public void cancelExecution()

getCreationTime

public long getCreationTime()
Specified by:
getCreationTime in interface LocalInstanceStats

getPendingTaskCount

public long getPendingTaskCount()
Description copied from interface: LocalExecutorStats
Returns the number of pending operations of the executor service

Specified by:
getPendingTaskCount in interface LocalExecutorStats
Returns:
the number of pending operations

getStartedTaskCount

public long getStartedTaskCount()
Description copied from interface: LocalExecutorStats
Returns the number of started operations of the executor service

Specified by:
getStartedTaskCount in interface LocalExecutorStats
Returns:
the number of started operations

getCompletedTaskCount

public long getCompletedTaskCount()
Description copied from interface: LocalExecutorStats
Returns the number of completed operations of the executor service

Specified by:
getCompletedTaskCount in interface LocalExecutorStats
Returns:
the number of completed operations

getCancelledTaskCount

public long getCancelledTaskCount()
Description copied from interface: LocalExecutorStats
Returns the number of cancelled operations of the executor service

Specified by:
getCancelledTaskCount in interface LocalExecutorStats
Returns:
the number of cancelled operations

getTotalStartLatency

public long getTotalStartLatency()
Description copied from interface: LocalExecutorStats
Returns the total start latency of operations started

Specified by:
getTotalStartLatency in interface LocalExecutorStats
Returns:
the total start latency

getTotalExecutionLatency

public long getTotalExecutionLatency()
Description copied from interface: LocalExecutorStats
Returns the total execution time of operations finished

Specified by:
getTotalExecutionLatency in interface LocalExecutorStats
Returns:
the total execution time

toJson

public com.eclipsesource.json.JsonObject toJson()
Specified by:
toJson in interface JsonSerializable

fromJson

public void fromJson(com.eclipsesource.json.JsonObject json)
Specified by:
fromJson in interface JsonSerializable


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.