Investigate usage of container managed ExecutorService instances

Description

JSR 236 ("Concurrency Utilities for JavaTM EE") defines means of managing executor services as container resources and obtaining such ManagedExecutorService objects from JNDI or via dependency injection. This JSR is part of Java EE 7 and thus available in WildFly and other compatible containers. We should investigate how to leverage this facility, falling back to the current implementation if not applicable.

Environment

None

Activity

Show:
Gunnar Morling
October 14, 2013, 2:07 PM

If successful, the same can be done for the mass indexer in OGM.

Emmanuel Bernard
October 14, 2013, 5:55 PM

Playing the devil's advocate. What's the use case / optimization ?

Sanne Grinovero
January 29, 2014, 1:10 PM

The use case is to allow the container to manage the internal threads; for example it is supposed to be easier to feed performance information to management tooling.

Assignee

Unassigned

Reporter

Gunnar Morling

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure