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.Payload
Concurrency managed executor service resource definition.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Field Summary
Fields inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
PATTERN_JNDIFields inherited from interface com.sun.enterprise.config.serverbeans.Resource
OBJECT_TYPES -
Method Summary
Modifier and TypeMethodDescriptiondefault String@Min(0L) StringGets the value of themaximumPoolSizeproperty.@Min(0L) StringGets the value of thetaskQueueCapacityproperty.voidsetMaximumPoolSize(String maximumPoolSize) Sets the value of themaximumPoolSizeproperty.voidsetTaskQueueCapacity(String taskQueueCapacity) Sets the value of thetaskQueueCapacityproperty.Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
getEnabled, getJndiName, setEnabled, setJndiNameMethods inherited from interface org.glassfish.concurrent.config.ConcurrencyResource
getContextInfo, getContextInfoEnabled, getDescription, getProperty, setContextInfo, setContextInfoEnabled, setDescriptionMethods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.glassfish.concurrent.config.ManagedExecutorServiceBase
getContext, getCorePoolSize, getHungAfterSeconds, getHungLoggerInitialDelaySeconds, getHungLoggerIntervalSeconds, getHungLoggerPrintOnce, getKeepAliveSeconds, getLongRunningTasks, getThreadLifetimeSeconds, getThreadPriority, setContext, setCorePoolSize, setHungAfterSeconds, setHungLoggerInitialDelaySeconds, setHungLoggerIntervalSeconds, setHungLoggerPrintOnce, setKeepAliveSeconds, setLongRunningTasks, setThreadLifetimeSeconds, setThreadPriorityMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removePropertyMethods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
-
Method Details
-
getMaximumPoolSize
Gets the value of themaximumPoolSizeproperty.- Returns:
- possible object is
String
-
setMaximumPoolSize
Sets the value of themaximumPoolSizeproperty.- Parameters:
maximumPoolSize- allowed object isString- Throws:
PropertyVetoException
-
getTaskQueueCapacity
Gets the value of thetaskQueueCapacityproperty.- Returns:
- possible object is
String
-
setTaskQueueCapacity
Sets the value of thetaskQueueCapacityproperty.- Parameters:
taskQueueCapacity- allowed object isString- Throws:
PropertyVetoException
-
getIdentity
- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.BindableResource- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.Resource
-