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 classstatic 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 TypeMethodDescription@Min(0L) StringGets the value of the maximumPoolSize property.@Min(0L) StringGets 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, 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 the maximumPoolSize property.- Returns:
- possible object is
String
-
setMaximumPoolSize
Sets the value of the maximumPoolSize property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getTaskQueueCapacity
Gets the value of the threadLifetimeSeconds property.- Returns:
- possible object is
String
-
setTaskQueueCapacity
Sets the value of the threadLifetimeSeconds property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getIdentity
- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.BindableResource- Specified by:
getIdentityin interfacecom.sun.enterprise.config.serverbeans.Resource
-