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(JsonObject json)
Extracts the state from the given
json object and mutates the
state of this object. |
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()
Returns the creation time of this distributed object instance on this member.
|
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() |
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject . |
String |
toString() |
public void startPending()
public void startExecution(long elapsed)
public void finishExecution(long elapsed)
public void rejectExecution()
public void cancelExecution()
public long getCreationTime()
LocalInstanceStats
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 JsonObject toJson()
JsonSerializable
JsonObject
.toJson
in interface JsonSerializable
public void fromJson(JsonObject json)
JsonSerializable
json
object and mutates the
state of this object.fromJson
in interface JsonSerializable
json
- the JSON object carrying state for this objectCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.