Module 
Package org.xnio

Interface XnioWorkerConfigurator


  • public interface XnioWorkerConfigurator
    An interface which is loaded via ServiceLoader 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 Detail

      • createWorker

        XnioWorker createWorker()
                         throws java.io.IOException
        Create the worker, returning null 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