public class LocalExecutorStatsImpl extends Object implements LocalExecutorStats
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 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 |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
rejectExecution() |
void |
startExecution(long elapsed) |
void |
startPending() |
com.eclipsesource.json.JsonObject |
toJson() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
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 LocalInstanceStats
public long getPendingTaskCount()
LocalExecutorStats
getPendingTaskCount
in interface LocalExecutorStats
public long getStartedTaskCount()
LocalExecutorStats
getStartedTaskCount
in interface LocalExecutorStats
public long getCompletedTaskCount()
LocalExecutorStats
getCompletedTaskCount
in interface LocalExecutorStats
public long getCancelledTaskCount()
LocalExecutorStats
getCancelledTaskCount
in interface LocalExecutorStats
public long getTotalStartLatency()
LocalExecutorStats
getTotalStartLatency
in interface LocalExecutorStats
public long getTotalExecutionLatency()
LocalExecutorStats
getTotalExecutionLatency
in interface LocalExecutorStats
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.