Class UndertowServerFeature.WithSharedWorkers<C>
- java.lang.Object
-
- ch.raffael.meldioc.library.http.server.undertow.UndertowServerFeature<C>
-
- ch.raffael.meldioc.library.http.server.undertow.UndertowServerFeature.WithSharedWorkers<C>
-
- All Implemented Interfaces:
ch.raffael.meldioc.library.base.threading.TaskAdviceFeature,ch.raffael.meldioc.library.base.threading.ThreadingFeature
- Direct Known Subclasses:
UndertowServerFeature.WithSharedWorkersAndShutdown
- Enclosing class:
- UndertowServerFeature<C>
@Feature public abstract static class UndertowServerFeature.WithSharedWorkers<C> extends UndertowServerFeature<C> implements ch.raffael.meldioc.library.base.threading.ThreadingFeature, ch.raffael.meldioc.library.base.threading.TaskAdviceFeature
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ch.raffael.meldioc.library.http.server.undertow.UndertowServerFeature
UndertowServerFeature.WithSharedWorkers<C>, UndertowServerFeature.WithSharedWorkersAndShutdown<C>, UndertowServerFeature.WithShutdown<C>
-
-
Field Summary
-
Fields inherited from class ch.raffael.meldioc.library.http.server.undertow.UndertowServerFeature
startStopLock, UNDERTOW_PARAM_PREFIX
-
-
Constructor Summary
Constructors Constructor Description WithSharedWorkers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidpreConfigure(UndertowBlueprint<C> config)voidstartAsync()ch.raffael.meldioc.util.advice.AroundAdvicetaskAdvice()protected ch.raffael.meldioc.library.base.threading.TaskAdviceFeature.ProfiletaskAdviceProfile()java.util.concurrent.ExecutorServiceworkExecutor()-
Methods inherited from class ch.raffael.meldioc.library.http.server.undertow.UndertowServerFeature
coreWorkers, createUndertowBuilder, ioThreads, maxWorkers, serverOptions, socketOptions, start, start, stopAll, stopUndertow, stopWorker, taskQueueLimit, undertowBuilderConfiguration, undertowServer, workerKeepAlive, workerOptions, xnioClassLoader, xnioWorker
-
-
-
-
Method Detail
-
workExecutor
@Provision(singleton=true) public java.util.concurrent.ExecutorService workExecutor()
- Specified by:
workExecutorin interfacech.raffael.meldioc.library.base.threading.ThreadingFeature
-
taskAdvice
@Provision(singleton=true) public ch.raffael.meldioc.util.advice.AroundAdvice taskAdvice()
- Specified by:
taskAdvicein interfacech.raffael.meldioc.library.base.threading.TaskAdviceFeature
-
taskAdviceProfile
protected ch.raffael.meldioc.library.base.threading.TaskAdviceFeature.Profile taskAdviceProfile()
-
startAsync
public void startAsync()
-
preConfigure
protected void preConfigure(UndertowBlueprint<C> config)
- Overrides:
preConfigurein classUndertowServerFeature<C>
-
-