Package org.glassfish.concurrent.config
Interface ManagedExecutorService
-
- All Superinterfaces:
com.sun.enterprise.config.serverbeans.BindableResource,ConcurrencyResource,org.jvnet.hk2.config.ConfigBeanProxy,ManagedExecutorServiceBase,jakarta.validation.Payload,org.jvnet.hk2.config.types.PropertyBag,com.sun.enterprise.config.serverbeans.Resource
@ResourceConfigCreator(commandName="create-managed-executor-service") @ResourceTypeOrder(deploymentOrder=MANAGED_EXECUTOR_SERVICE) @ReferenceConstraint(skipDuringCreation=true, payload=ManagedExecutorService.class) @UniqueResourceNameConstraint(message="{resourcename.isnot.unique}", payload=ManagedExecutorService.class) public interface ManagedExecutorService extends org.jvnet.hk2.config.ConfigBeanProxy, com.sun.enterprise.config.serverbeans.Resource, com.sun.enterprise.config.serverbeans.BindableResource, ConcurrencyResource, ManagedExecutorServiceBase, jakarta.validation.PayloadConcurrency managed executor service resource definition
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classManagedExecutorService.Duckstatic classManagedExecutorService.ManagedExecutorServiceConfigActivator
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetIdentity()@Min(0L) StringgetMaximumPoolSize()Gets the value of the maximumPoolSize property.@Min(0L) StringgetTaskQueueCapacity()Gets the value of the threadLifetimeSeconds property.voidsetMaximumPoolSize(String value)Sets the value of the maximumPoolSize property.voidsetTaskQueueCapacity(String value)Sets the value of the threadLifetimeSeconds property.-
Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
getEnabled, getJndiName, setEnabled, setJndiName
-
Methods inherited from interface org.glassfish.concurrent.config.ConcurrencyResource
getContextInfo, getContextInfoEnabled, getDescription, getProperty, setContextInfo, setContextInfoEnabled, setDescription
-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface org.glassfish.concurrent.config.ManagedExecutorServiceBase
getCorePoolSize, getHungAfterSeconds, getHungLoggerInitialDelaySeconds, getHungLoggerIntervalSeconds, getHungLoggerPrintOnce, getKeepAliveSeconds, getLongRunningTasks, getThreadLifetimeSeconds, getThreadPriority, setCorePoolSize, setHungAfterSeconds, setHungLoggerInitialDelaySeconds, setHungLoggerIntervalSeconds, setHungLoggerPrintOnce, setKeepAliveSeconds, setLongRunningTasks, setThreadLifetimeSeconds, setThreadPriority
-
-
-
-
Method Detail
-
getMaximumPoolSize
@Min(0L) @Min(0L) String getMaximumPoolSize()
Gets the value of the maximumPoolSize property.- Returns:
- possible object is
String
-
setMaximumPoolSize
void setMaximumPoolSize(String value) throws PropertyVetoException
Sets the value of the maximumPoolSize property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getTaskQueueCapacity
@Min(0L) @Min(0L) String getTaskQueueCapacity()
Gets the value of the threadLifetimeSeconds property.- Returns:
- possible object is
String
-
setTaskQueueCapacity
void setTaskQueueCapacity(String value) throws PropertyVetoException
Sets the value of the threadLifetimeSeconds property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.BindableResource- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.Resource
-
-