Class UndertowServerFeature.WithSharedWorkers
java.lang.Object
ch.raffael.meldioc.library.http.server.undertow.UndertowServerFeature
ch.raffael.meldioc.library.http.server.undertow.UndertowServerFeature.WithSharedWorkers
- All Implemented Interfaces:
ch.raffael.meldioc.library.base.threading.TaskAdviceFeature,ch.raffael.meldioc.library.base.threading.WorkExecutorFeature
- Direct Known Subclasses:
UndertowServerFeature.WithSharedWorkersAndShutdown
- Enclosing class:
UndertowServerFeature
@Feature
public abstract static class UndertowServerFeature.WithSharedWorkers
extends UndertowServerFeature
implements ch.raffael.meldioc.library.base.threading.WorkExecutorFeature, 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, UndertowServerFeature.WithSharedWorkersAndShutdown, UndertowServerFeature.WithShutdownNested classes/interfaces inherited from interface ch.raffael.meldioc.library.base.threading.TaskAdviceFeature
ch.raffael.meldioc.library.base.threading.TaskAdviceFeature.ProfileNested classes/interfaces inherited from interface ch.raffael.meldioc.library.base.threading.WorkExecutorFeature
ch.raffael.meldioc.library.base.threading.WorkExecutorFeature.Util -
Field Summary
Fields inherited from class ch.raffael.meldioc.library.http.server.undertow.UndertowServerFeature
startStopLock, UNDERTOW_PARAM_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpreConfigure(UndertowConfig config) voidch.raffael.meldioc.util.advice.AroundAdviceprotected ch.raffael.meldioc.library.base.threading.TaskAdviceFeature.ProfileMethods inherited from class ch.raffael.meldioc.library.http.server.undertow.UndertowServerFeature
coreWorkers, createUndertowBuilder, ioThreads, maxWorkers, serverOptions, socketOptions, start, start, stopAll, stopUndertow, stopWorker, taskQueueLimit, undertowConfiguration, undertowServer, workerKeepAlive, workerOptions, xnioClassLoader, xnioWorker
-
Constructor Details
-
WithSharedWorkers
public WithSharedWorkers()
-
-
Method Details
-
workExecutor
- Specified by:
workExecutorin interfacech.raffael.meldioc.library.base.threading.WorkExecutorFeature
-
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
- Overrides:
preConfigurein classUndertowServerFeature
-