public class StrictMaxPoolConfigService extends Object implements org.jboss.msc.service.Service<StrictMaxPoolConfig>
| Modifier and Type | Class and Description |
|---|---|
static class |
StrictMaxPoolConfigService.Derive |
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
DEFAULT_ENTITY_POOL_CONFIG_SERVICE_NAME |
static org.jboss.msc.service.ServiceName |
DEFAULT_MDB_POOL_CONFIG_SERVICE_NAME |
static org.jboss.msc.service.ServiceName |
DEFAULT_SLSB_POOL_CONFIG_SERVICE_NAME |
static org.jboss.msc.service.ServiceName |
EJB_POOL_CONFIG_BASE_SERVICE_NAME |
| Constructor and Description |
|---|
StrictMaxPoolConfigService(String poolName,
int declaredMaxSize,
StrictMaxPoolConfigService.Derive derive,
long timeout,
TimeUnit timeUnit) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDerivedSize() |
org.jboss.msc.inject.Injector<Integer> |
getMaxThreadsInjector() |
StrictMaxPoolConfig |
getValue() |
void |
setDerive(StrictMaxPoolConfigService.Derive derive) |
void |
setMaxPoolSize(int newMax) |
void |
setTimeout(long timeout) |
void |
setTimeoutUnit(TimeUnit timeUnit) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static final org.jboss.msc.service.ServiceName EJB_POOL_CONFIG_BASE_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName DEFAULT_SLSB_POOL_CONFIG_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName DEFAULT_MDB_POOL_CONFIG_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName DEFAULT_ENTITY_POOL_CONFIG_SERVICE_NAME
public StrictMaxPoolConfigService(String poolName, int declaredMaxSize, StrictMaxPoolConfigService.Derive derive, long timeout, TimeUnit timeUnit)
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 setMaxPoolSize(int newMax)
public int getDerivedSize()
public void setDerive(StrictMaxPoolConfigService.Derive derive)
public void setTimeout(long timeout)
public void setTimeoutUnit(TimeUnit timeUnit)
public void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic StrictMaxPoolConfig getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<StrictMaxPoolConfig>IllegalStateExceptionIllegalArgumentExceptionpublic org.jboss.msc.inject.Injector<Integer> getMaxThreadsInjector()
Copyright © 2018 JBoss by Red Hat. All rights reserved.