com.hazelcast.config
Class ExecutorConfig
java.lang.Object
  
com.hazelcast.config.ExecutorConfig
- All Implemented Interfaces: 
 - DataSerializable, Serializable
 
public class ExecutorConfig
- extends Object
- implements DataSerializable
  
- See Also:
 - Serialized Form
 
 
 
 
 
DEFAULT_CORE_POOL_SIZE
public static final int DEFAULT_CORE_POOL_SIZE
- See Also:
 - Constant Field Values
 
DEFAULT_MAX_POOL_SIZE
public static final int DEFAULT_MAX_POOL_SIZE
- See Also:
 - Constant Field Values
 
DEFAULT_KEEP_ALIVE_SECONDS
public static final int DEFAULT_KEEP_ALIVE_SECONDS
- See Also:
 - Constant Field Values
 
ExecutorConfig
public ExecutorConfig()
ExecutorConfig
public ExecutorConfig(String name)
ExecutorConfig
public ExecutorConfig(String name,
                      int corePoolSize,
                      int maxPoolSize,
                      int keepAliveSeconds)
getName
public String getName()
 
 
setName
public ExecutorConfig setName(String name)
 
 
getCorePoolSize
public int getCorePoolSize()
 
- Returns:
 - the corePoolSize
 
 
setCorePoolSize
public ExecutorConfig setCorePoolSize(int corePoolSize)
 
- Parameters:
 corePoolSize - the corePoolSize to set
 
getMaxPoolSize
public int getMaxPoolSize()
 
- Returns:
 - the maxPoolSize
 
 
setMaxPoolSize
public ExecutorConfig setMaxPoolSize(int maxPoolSize)
 
- Parameters:
 maxPoolSize - the maxPoolSize to set
 
getKeepAliveSeconds
public int getKeepAliveSeconds()
 
- Returns:
 - the keepAliveSeconds
 
 
setKeepAliveSeconds
public ExecutorConfig setKeepAliveSeconds(int keepAliveSeconds)
 
- Parameters:
 keepAliveSeconds - the keepAliveSeconds to set
 
writeData
public void writeData(DataOutput out)
               throws IOException
- Specified by:
 writeData in interface DataSerializable
 
- Throws:
 IOException
 
readData
public void readData(DataInput in)
              throws IOException
- Specified by:
 readData in interface DataSerializable
 
- Throws:
 IOException
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
Copyright © 2008-2012 Hazelcast, Inc. All Rights Reserved.