Class WorkerControlFactory

java.lang.Object
com.illumon.iris.db.tables.remotequery.WorkerControlFactory

public class WorkerControlFactory
extends Object
Factory for creating WorkerControl implementations. This factory uses reflection to avoid circular dependencies as the implementing classes are defined in the :WorkerProcess module that depend on this :DB module. The factory uses a Configuration property RemoteQueryDispatcher.workerControlTypeto determine which WorkerControl to create (instantiate). The factory will create a Local Process WorkerControl by default. Currently, this factory supports LocalProcess and DockerService WorkerControl types. To add additional WorkerControl types, add the fully qualified class name and corresponding configuration property to this class.