Package org.jboss.weld.executor
Class ProfilingExecutorServices
- java.lang.Object
-
- org.jboss.weld.executor.ProfilingExecutorServices
-
- All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service
,org.jboss.weld.manager.api.ExecutorServices
public class ProfilingExecutorServices extends Object implements org.jboss.weld.manager.api.ExecutorServices
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.weld.manager.api.ExecutorServices
org.jboss.weld.manager.api.ExecutorServices.TaskFactory<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description ProfilingExecutorServices(org.jboss.weld.manager.api.ExecutorServices delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
org.jboss.weld.manager.api.ExecutorServices
getDelegate()
ExecutorService
getTaskExecutor()
<T> List<Future<T>>
invokeAllAndCheckForExceptions(Collection<? extends Callable<T>> tasks)
<T> List<Future<T>>
invokeAllAndCheckForExceptions(org.jboss.weld.manager.api.ExecutorServices.TaskFactory<T> factory)
-
-
-
Method Detail
-
getTaskExecutor
public ExecutorService getTaskExecutor()
- Specified by:
getTaskExecutor
in interfaceorg.jboss.weld.manager.api.ExecutorServices
-
cleanup
public void cleanup()
- Specified by:
cleanup
in interfaceorg.jboss.weld.bootstrap.api.Service
-
invokeAllAndCheckForExceptions
public <T> List<Future<T>> invokeAllAndCheckForExceptions(Collection<? extends Callable<T>> tasks)
- Specified by:
invokeAllAndCheckForExceptions
in interfaceorg.jboss.weld.manager.api.ExecutorServices
-
invokeAllAndCheckForExceptions
public <T> List<Future<T>> invokeAllAndCheckForExceptions(org.jboss.weld.manager.api.ExecutorServices.TaskFactory<T> factory)
- Specified by:
invokeAllAndCheckForExceptions
in interfaceorg.jboss.weld.manager.api.ExecutorServices
-
getDelegate
public org.jboss.weld.manager.api.ExecutorServices getDelegate()
-
-