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

en.help.task-managedscheduledexecutorserviceedit.html Maven / Gradle / Ivy

The newest version!


To Edit a Managed Scheduled Executor Service

  1. In the navigation tree, expand the Resources node.

  2. Under the Resources node, expand the Concurrent Resources node.

  3. Under the Concurrent Resources node, select Managed Scheduled Executor Services.

    The Managed Scheduled Executor Services page opens.

  4. On the Managed Scheduled Executor Services page, click the name of the resource that you are editing.

    The Edit Managed Scheduled Executor Service page opens.


    Note:

    The JNDI name is a read-only field. You can only specify the JNDI name when you create a new resource. The logical JNDI name is also a read-only field and is displayed for the default resource. See Logical JNDI Names for more information.


  5. Select the Context Information Enabled checkbox to propagate contexts to threads, and select the contexts that you want to propagate.

    This option is enabled and all contexts are selected by default. Use Shift-click or Control-click to choose multiple contexts. If this option is disabled, contexts are not propagated, even if they are selected.

  6. In the Thread Priority field, type the priority to assign to created threads.

    The default value is 5.

  7. Select the Long-Running Tasks Enabled checkbox to use the resource to run long-running tasks.

    If enabled, long-running tasks are not reported as stuck. This option is disabled by default.

  8. In the Hung After field, type the number of seconds tasks can execute before they are considered unresponsive.

    The default value is 0, which means that tasks are never considered unresponsive.

  9. In the Deployment Order field, type a number to specify the deployment order of the resource.

    Resources with lower numbers are loaded first at server startup. The default value is 100.

  10. In the Description field, type a short description of the resource.

    This description is a string value and can include a maximum of 250 characters.

  11. In the Core Size field, type the number of threads to keep in a thread pool, even if they are idle.

    The default value is 0, which means that a thread is created when the first task is scheduled.

  12. In the Keep Alive field, type the number of seconds threads can remain idle when the number of threads is greater than core size.

    The default value is 60.

  13. In the Thread Lifetime field, type 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, which means that threads are never purged.

  14. In the Additional Properties section, do not add any additional properties.

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

  15. Click the Target tab to manage resource targets.

    The Resource Targets page opens. The Target tab is displayed only if clusters and standalone instances have been created in the domain, in addition to the default server instance, server.

  16. On the Resource Targets page, do the following, as desired:

    1. Enable or disable defined targets for the resource.

    2. Click the Manage Targets button to add or remove targets for the resource.

  17. Click the General tab to return to the Edit Managed Scheduled Executor Service page.

  18. Click Save.

See Also
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2024 Weber Informatics LLC | Privacy Policy