Class ManagedExecutorServiceConfig
- java.lang.Object
-
- org.glassfish.concurrent.runtime.deployer.BaseConfig
-
- org.glassfish.concurrent.runtime.deployer.ManagedExecutorServiceConfig
-
- All Implemented Interfaces:
Serializable
public class ManagedExecutorServiceConfig extends BaseConfig
Contains configuration information for a ManagedExecutorService object- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.glassfish.concurrent.runtime.deployer.BaseConfig
BaseConfig.TYPE
-
-
Field Summary
-
Fields inherited from class org.glassfish.concurrent.runtime.deployer.BaseConfig
contextInfo, contextInfoEnabled, jndiName
-
-
Constructor Summary
Constructors Constructor Description ManagedExecutorServiceConfig(ManagedExecutorService config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContext()
int
getCorePoolSize()
int
getHungAfterSeconds()
long
getKeepAliveSeconds()
int
getMaximumPoolSize()
int
getTaskQueueCapacity()
long
getThreadLifeTimeSeconds()
int
getThreadPriority()
boolean
isLongRunningTasks()
-
Methods inherited from class org.glassfish.concurrent.runtime.deployer.BaseConfig
getContextInfo, getContextInfoEnabled, getJndiName, isContextInfoEnabledBoolean, parseInt, parseLong
-
-
-
-
Constructor Detail
-
ManagedExecutorServiceConfig
public ManagedExecutorServiceConfig(ManagedExecutorService config)
-
-
Method Detail
-
getHungAfterSeconds
public int getHungAfterSeconds()
-
isLongRunningTasks
public boolean isLongRunningTasks()
-
getThreadPriority
public int getThreadPriority()
-
getCorePoolSize
public int getCorePoolSize()
-
getKeepAliveSeconds
public long getKeepAliveSeconds()
-
getMaximumPoolSize
public int getMaximumPoolSize()
-
getTaskQueueCapacity
public int getTaskQueueCapacity()
-
getThreadLifeTimeSeconds
public long getThreadLifeTimeSeconds()
-
getContext
public String getContext()
-
-