public class LocalExecutorStatsImpl extends Object implements LocalExecutorStats
STAT_NOT_AVAILABLE| Constructor and Description |
|---|
LocalExecutorStatsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelExecution() |
void |
finishExecution(long elapsed) |
void |
fromJson(com.eclipsesource.json.JsonObject json) |
long |
getCancelledTaskCount()
Returns the number of cancelled operations on the executor service.
|
long |
getCompletedTaskCount()
Returns the number of completed operations on the executor service.
|
long |
getCreationTime() |
long |
getPendingTaskCount()
Returns the number of pending operations on the executor service.
|
long |
getStartedTaskCount()
Returns the number of started operations on 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() |
String |
toString() |
public void startPending()
public void startExecution(long elapsed)
public void finishExecution(long elapsed)
public void rejectExecution()
public void cancelExecution()
public long getCreationTime()
getCreationTime in interface LocalInstanceStatspublic long getPendingTaskCount()
LocalExecutorStatsgetPendingTaskCount in interface LocalExecutorStatspublic long getStartedTaskCount()
LocalExecutorStatsgetStartedTaskCount in interface LocalExecutorStatspublic long getCompletedTaskCount()
LocalExecutorStatsgetCompletedTaskCount in interface LocalExecutorStatspublic long getCancelledTaskCount()
LocalExecutorStatsgetCancelledTaskCount in interface LocalExecutorStatspublic long getTotalStartLatency()
LocalExecutorStatsgetTotalStartLatency in interface LocalExecutorStatspublic long getTotalExecutionLatency()
LocalExecutorStatsgetTotalExecutionLatency in interface LocalExecutorStatspublic com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializableCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.