public class ManagedExecutorDTO extends Object implements JsonSerializable
ManagedExecutorServiceMBean.| Modifier and Type | Field and Description |
|---|---|
long |
completedTaskCount |
boolean |
isTerminated |
int |
maximumPoolSize |
String |
name |
int |
poolSize |
int |
queueSize |
int |
remainingQueueCapacity |
| Constructor and Description |
|---|
ManagedExecutorDTO() |
ManagedExecutorDTO(ManagedExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(JsonObject json)
Extracts the state from the given
json object and mutates the
state of this object. |
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject. |
public String name
public int queueSize
public int poolSize
public int remainingQueueCapacity
public int maximumPoolSize
public boolean isTerminated
public long completedTaskCount
public ManagedExecutorDTO()
public ManagedExecutorDTO(ManagedExecutorService executorService)
public JsonObject toJson()
JsonSerializableJsonObject.toJson in interface JsonSerializablepublic void fromJson(JsonObject json)
JsonSerializablejson object and mutates the
state of this object.fromJson in interface JsonSerializablejson - the JSON object carrying state for this objectCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.