public class WorkerService extends Object implements org.jboss.msc.service.Service<org.xnio.XnioWorker>
| Constructor and Description |
|---|
WorkerService(org.xnio.OptionMap optionMap)
Deprecated.
Use
WorkerService(XnioWorker.Builder) instead to allow setting of full range of options. |
WorkerService(org.xnio.XnioWorker.Builder builder) |
| 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) |
public WorkerService(org.xnio.OptionMap optionMap)
WorkerService(XnioWorker.Builder) instead to allow setting of full range of options.public WorkerService(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.service.Service<org.xnio.XnioWorker>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<org.xnio.XnioWorker>public org.xnio.XnioWorker getValue()
throws IllegalStateException,
IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<org.xnio.XnioWorker>IllegalStateExceptionIllegalArgumentExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.