-
public interface XnioWorkerConfigurator
An interface which is loaded viaServiceLoader
in order to take over the configuration of the default worker in the event that no overriding configuration is present.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XnioWorker
createWorker()
Create the worker, returningnull
if no worker is available.
-
-
-
Method Detail
-
createWorker
XnioWorker createWorker() throws java.io.IOException
Create the worker, returningnull
if no worker is available.- Returns:
- the worker or
null
if none is available - Throws:
java.io.IOException
- if configuring the worker resulted in an exception
-
-