public class StrictMaxPoolConfigService extends Object implements org.jboss.msc.service.Service<StrictMaxPoolConfig>
| Modifier and Type | Class and Description |
|---|---|
static class |
StrictMaxPoolConfigService.Derive |
| 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 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 © 2021 JBoss by Red Hat. All rights reserved.