public class SerializableManagedExecutorBean extends Object implements JsonSerializable
ManagedExecutorServiceMBean
.Constructor and Description |
---|
SerializableManagedExecutorBean() |
SerializableManagedExecutorBean(ManagedExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
long |
getCompletedTaskCount() |
int |
getMaximumPoolSize() |
String |
getName() |
int |
getPoolSize() |
int |
getQueueSize() |
int |
getRemainingQueueCapacity() |
boolean |
isTerminated() |
void |
setCompletedTaskCount(long completedTaskCount) |
void |
setMaximumPoolSize(int maximumPoolSize) |
void |
setName(String name) |
void |
setPoolSize(int poolSize) |
void |
setQueueSize(int queueSize) |
void |
setRemainingQueueCapacity(int remainingQueueCapacity) |
void |
setTerminated(boolean isTerminated) |
com.eclipsesource.json.JsonObject |
toJson() |
public SerializableManagedExecutorBean()
public SerializableManagedExecutorBean(ManagedExecutorService executorService)
public String getName()
public void setName(String name)
public int getQueueSize()
public void setQueueSize(int queueSize)
public int getPoolSize()
public void setPoolSize(int poolSize)
public int getRemainingQueueCapacity()
public void setRemainingQueueCapacity(int remainingQueueCapacity)
public int getMaximumPoolSize()
public void setMaximumPoolSize(int maximumPoolSize)
public boolean isTerminated()
public void setTerminated(boolean isTerminated)
public long getCompletedTaskCount()
public void setCompletedTaskCount(long completedTaskCount)
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.