All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.ref-executorservicenew.html Maven / Gradle / Ivy

The newest version!


New Managed Executor Service

Use the New Managed Executor Service page to create a managed executor service resource.

The New Managed Executor Service page contains the following options.

JNDI Name

A unique JNDI name that identifies the resource. By convention, the name begins with a resource-type indicator and a slash, such as concurrent/, jdbc/, or jms/.

Context Information

The contexts to propagate to threads: Classloader, JNDI, Security, or WorkArea. Context propagation can be enabled or disabled. If enabled, the selected contexts are propagated. If disabled, none of the contexts are propagated, even if they are selected. The default value is Enabled, with all four contexts selected.

Status

The status of the resource. The resource can be enabled or disabled. The default value is Enabled.

Thread Priority

The priority to assign to created threads. The default value is 5.

Long-Running Tasks

Whether the resource should be used for long-running tasks. If enabled, long-running tasks are not reported as stuck. This option is disabled by default.

Hung After

The number of seconds tasks can execute before they are considered unresponsive. The default value is 0.

Hung Logger Print Once

Specifies whether to print the warning message once or repeatedly. The default value is false. If set to true, the warning message is printed only once when detect a hung task exceeds "Hung After".

Hung Logger Initial Delay

The number of seconds to delay logging the detection of hung tasks. The default value is 60.

Hung Logger Interval

The number of seconds between logging the detection of hung tasks. The default value is 60.

Description

A description of this resource.

Core Size

The number of threads to keep in a thread pool. The default value is 0.

Maximum Pool Size

The maximum number of threads a thread pool can contain. The default value is 2147483647.

Keep Alive

The number of seconds threads can remain idle when the number of threads is greater than core size. The default value is 60.

Thread Lifetime

The number of seconds threads can remain in a thread pool before being purged, regardless of whether the number of threads is greater than core size or whether the threads are idle. The default value is 0.

Task Queue Capacity

The number of submitted tasks that can be stored in the task queue awaiting execution. The default value is 2147483647.

Additional Properties

Additional properties for the resource. GlassFish Server does not define any additional properties for this resource type. Moreover, this resource type does not currently use any additional properties.

Targets

(This option is displayed if any clusters or standalone instances have been created in the domain.)

Clusters and standalone instances for the resource. Move desired targets to the Selected Targets column using the Add and Add All buttons. Move any unneeded targets to the Available Targets column using the Remove and Remove All buttons.

Related Tasks
Related asadmin Commands
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2024 Weber Informatics LLC | Privacy Policy