public class WorkerService extends Object implements org.jboss.msc.service.Service<org.xnio.XnioWorker>
| Constructor and Description |
|---|
WorkerService(Consumer<org.xnio.XnioWorker> workerConsumer,
Supplier<ExecutorService> executorSupplier,
org.xnio.XnioWorker.Builder builder) |
WorkerService(org.xnio.OptionMap optionMap)
Deprecated.
|
WorkerService(org.xnio.XnioWorker.Builder builder)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.xnio.XnioWorker |
getValue() |
void |
start(org.jboss.msc.service.StartContext startContext) |
void |
stop(org.jboss.msc.service.StopContext context) |
@Deprecated public WorkerService(org.xnio.OptionMap optionMap)
@Deprecated public WorkerService(org.xnio.XnioWorker.Builder builder)
public WorkerService(Consumer<org.xnio.XnioWorker> workerConsumer, Supplier<ExecutorService> executorSupplier, org.xnio.XnioWorker.Builder builder)
public void start(org.jboss.msc.service.StartContext startContext)
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.Servicepublic org.xnio.XnioWorker getValue()
throws IllegalStateException,
IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<org.xnio.XnioWorker>IllegalStateExceptionIllegalArgumentExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.