com.hazelcast.management
Class SerializableManagedExecutorBean

java.lang.Object
  extended by com.hazelcast.management.SerializableManagedExecutorBean
All Implemented Interfaces:
JsonSerializable

public class SerializableManagedExecutorBean
extends Object
implements JsonSerializable

A Serializable DTO for ManagedExecutorServiceMBean.


Constructor Summary
SerializableManagedExecutorBean()
           
SerializableManagedExecutorBean(ManagedExecutorService executorService)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableManagedExecutorBean

public SerializableManagedExecutorBean()

SerializableManagedExecutorBean

public SerializableManagedExecutorBean(ManagedExecutorService executorService)
Method Detail

getName

public String getName()

setName

public void setName(String name)

getQueueSize

public int getQueueSize()

setQueueSize

public void setQueueSize(int queueSize)

getPoolSize

public int getPoolSize()

setPoolSize

public void setPoolSize(int poolSize)

getRemainingQueueCapacity

public int getRemainingQueueCapacity()

setRemainingQueueCapacity

public void setRemainingQueueCapacity(int remainingQueueCapacity)

getMaximumPoolSize

public int getMaximumPoolSize()

setMaximumPoolSize

public void setMaximumPoolSize(int maximumPoolSize)

isTerminated

public boolean isTerminated()

setTerminated

public void setTerminated(boolean isTerminated)

getCompletedTaskCount

public long getCompletedTaskCount()

setCompletedTaskCount

public void setCompletedTaskCount(long completedTaskCount)

toJson

public com.eclipsesource.json.JsonObject toJson()
Specified by:
toJson in interface JsonSerializable

fromJson

public void fromJson(com.eclipsesource.json.JsonObject json)
Specified by:
fromJson in interface JsonSerializable


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.