public class ManagedScheduledExecutorServiceService extends Object
Constructor and Description |
---|
ManagedScheduledExecutorServiceService(String name,
String jndiName,
long hungTaskThreshold,
boolean longRunningTasks,
int corePoolSize,
long keepAliveTime,
TimeUnit keepAliveTimeUnit,
long threadLifeTime,
org.glassfish.enterprise.concurrent.AbstractManagedExecutorService.RejectPolicy rejectPolicy) |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.inject.Injector<org.glassfish.enterprise.concurrent.ContextServiceImpl> |
getContextServiceInjector() |
org.jboss.msc.inject.Injector<org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl> |
getManagedThreadFactoryInjector() |
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, boolean longRunningTasks, int corePoolSize, long keepAliveTime, TimeUnit keepAliveTimeUnit, long threadLifeTime, org.glassfish.enterprise.concurrent.AbstractManagedExecutorService.RejectPolicy rejectPolicy)
name
- jndiName
- hungTaskThreshold
- longRunningTasks
- corePoolSize
- keepAliveTime
- keepAliveTimeUnit
- threadLifeTime
- rejectPolicy
- ManagedScheduledExecutorServiceImpl.ManagedScheduledExecutorServiceImpl(String, org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl, long, boolean, int, long, java.util.concurrent.TimeUnit, long, org.glassfish.enterprise.concurrent.ContextServiceImpl, org.glassfish.enterprise.concurrent.AbstractManagedExecutorService.RejectPolicy)
public org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceAdapter getValue() throws IllegalStateException
IllegalStateException
public org.jboss.msc.inject.Injector<org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl> getManagedThreadFactoryInjector()
public org.jboss.msc.inject.Injector<org.glassfish.enterprise.concurrent.ContextServiceImpl> getContextServiceInjector()
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<T>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<T>
Copyright © 2013 JBoss by Red Hat. All rights reserved.