Package org.glassfish.concurrent.config
Interface ManagedExecutorService
-
- All Superinterfaces:
BindableResource,ConcurrencyResource,ConfigBeanProxy,ManagedExecutorServiceBase,jakarta.validation.Payload,PropertyBag,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 ConfigBeanProxy, Resource, BindableResource, ConcurrencyResource, ManagedExecutorServiceBase, jakarta.validation.Payload
Concurrency 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.StringgetUseForkJoinPool()Gets the value of the useForkJoinPool property.voidsetMaximumPoolSize(String value)Sets the value of the maximumPoolSize property.voidsetTaskQueueCapacity(String value)Sets the value of the threadLifetimeSeconds property.voidsetUseForkJoinPool(String value)Sets the value of the useForkJoinPool 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
getContext, getCorePoolSize, getHungAfterSeconds, getKeepAliveSeconds, getLongRunningTasks, getThreadLifetimeSeconds, getThreadPriority, setContext, setCorePoolSize, setHungAfterSeconds, setKeepAliveSeconds, setLongRunningTasks, setThreadLifetimeSeconds, setThreadPriority
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Methods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
-
-
-
-
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
-
getUseForkJoinPool
String getUseForkJoinPool()
Gets the value of the useForkJoinPool property.- Returns:
- possible object is
String
-
setUseForkJoinPool
void setUseForkJoinPool(String value) throws PropertyVetoException
Sets the value of the useForkJoinPool property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentityin interfaceBindableResource- Specified by:
getIdentityin interfaceResource
-
-