public class ManagedScheduledExecutorServiceService extends Object
| Constructor and Description |
|---|
ManagedScheduledExecutorServiceService(String name,
String jndiName,
long hungTaskThreshold,
long hungTaskTerminationPeriod,
boolean longRunningTasks,
int corePoolSize,
long keepAliveTime,
TimeUnit keepAliveTimeUnit,
long threadLifeTime,
org.glassfish.enterprise.concurrent.AbstractManagedExecutorService.RejectPolicy rejectPolicy,
Integer threadPriority,
Supplier<ManagedExecutorHungTasksPeriodicTerminationService> hungTasksPeriodicTerminationService) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.inject.Injector<org.glassfish.enterprise.concurrent.ContextServiceImpl> |
getContextServiceInjector() |
ManagedScheduledExecutorServiceImpl |
getExecutorService() |
org.jboss.msc.inject.Injector<ManagedThreadFactoryImpl> |
getManagedThreadFactoryInjector() |
org.jboss.msc.value.InjectedValue<org.wildfly.extension.requestcontroller.RequestController> |
getRequestController() |
org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceAdapter |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public ManagedScheduledExecutorServiceService(String name, String jndiName, long hungTaskThreshold, long hungTaskTerminationPeriod, boolean longRunningTasks, int corePoolSize, long keepAliveTime, TimeUnit keepAliveTimeUnit, long threadLifeTime, org.glassfish.enterprise.concurrent.AbstractManagedExecutorService.RejectPolicy rejectPolicy, Integer threadPriority, Supplier<ManagedExecutorHungTasksPeriodicTerminationService> hungTasksPeriodicTerminationService)
name - jndiName - hungTaskThreshold - longRunningTasks - corePoolSize - keepAliveTime - keepAliveTimeUnit - threadLifeTime - rejectPolicy - threadPriority - ManagedScheduledExecutorServiceImpl(String, org.jboss.as.ee.concurrent.ManagedThreadFactoryImpl, long, boolean, int, long, java.util.concurrent.TimeUnit, long, org.glassfish.enterprise.concurrent.ContextServiceImpl, org.glassfish.enterprise.concurrent.AbstractManagedExecutorService.RejectPolicy, org.wildfly.extension.requestcontroller.ControlPoint)public org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceAdapter getValue()
throws IllegalStateException
IllegalStateExceptionpublic ManagedScheduledExecutorServiceImpl getExecutorService() throws IllegalStateException
IllegalStateExceptionpublic org.jboss.msc.inject.Injector<ManagedThreadFactoryImpl> getManagedThreadFactoryInjector()
public org.jboss.msc.inject.Injector<org.glassfish.enterprise.concurrent.ContextServiceImpl> getContextServiceInjector()
public org.jboss.msc.value.InjectedValue<org.wildfly.extension.requestcontroller.RequestController> getRequestController()
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.ServiceCopyright © 2022 JBoss by Red Hat. All rights reserved.