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()
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 © 2021 Hazelcast, Inc.. All Rights Reserved.