Package org.wildfly.extension.io
Class WorkerService
java.lang.Object
org.wildfly.extension.io.WorkerService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<org.xnio.XnioWorker>,org.jboss.msc.value.Value<org.xnio.XnioWorker>
public final class WorkerService
extends Object
implements org.jboss.msc.service.Service<org.xnio.XnioWorker>
- Author:
- Tomaz Cerar (c) 2012 Red Hat Inc., Richard Opalka
-
Field Summary
Fields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionWorkerService(Consumer<org.xnio.XnioWorker> workerConsumer, Supplier<Executor> executorSupplier, org.xnio.XnioWorker.Builder builder) -
Method Summary
-
Constructor Details
-
WorkerService
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext startContext) - Specified by:
startin interfaceorg.jboss.msc.Service
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<org.xnio.XnioWorker>- Throws:
IllegalStateExceptionIllegalArgumentException
-