public class ExecutorServicesImpl
extends org.jboss.weld.executor.AbstractExecutorServices
implements org.jboss.weld.manager.api.ExecutorServices
Constructor and Description |
---|
ExecutorServicesImpl(PayaraExecutorService service) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
ExecutorService |
getTaskExecutor() |
protected int |
getThreadPoolSize() |
ScheduledExecutorService |
getTimerExecutor() |
<T> Collection<? extends Callable<T>> |
wrap(Collection<? extends Callable<T>> tasks) |
checkForExceptions, invokeAllAndCheckForExceptions, invokeAllAndCheckForExceptions, shutdown
public ExecutorServicesImpl(PayaraExecutorService service)
public ExecutorService getTaskExecutor()
getTaskExecutor
in interface org.jboss.weld.manager.api.ExecutorServices
public ScheduledExecutorService getTimerExecutor()
getTimerExecutor
in interface org.jboss.weld.manager.api.ExecutorServices
getTimerExecutor
in class org.jboss.weld.executor.AbstractExecutorServices
public void cleanup()
cleanup
in interface org.jboss.weld.bootstrap.api.Service
cleanup
in class org.jboss.weld.executor.AbstractExecutorServices
protected int getThreadPoolSize()
getThreadPoolSize
in class org.jboss.weld.executor.AbstractExecutorServices
public <T> Collection<? extends Callable<T>> wrap(Collection<? extends Callable<T>> tasks)
wrap
in class org.jboss.weld.executor.AbstractExecutorServices
Copyright © 2019. All rights reserved.