Package com.illumon.iris.controller
Class InWorkerServiceControllerConfigurationProcessor
java.lang.Object
com.illumon.iris.controller.InWorkerServiceControllerConfigurationProcessor
- All Implemented Interfaces:
FunctionalInterfaces.TriFunction<com.fishlib.io.logger.Logger,PqStorage,AtomicLong,Boolean>
public class InWorkerServiceControllerConfigurationProcessor extends Object implements FunctionalInterfaces.TriFunction<com.fishlib.io.logger.Logger,PqStorage,AtomicLong,Boolean>
Controller migration class to update
DATA_SERVICES_SCRIPT persistent queries to use the new InWorkerServiceSetupQuery.IN_WORKER_SERVICE_CONFIG_TYPE query type.-
Constructor Summary
Constructors Constructor Description InWorkerServiceControllerConfigurationProcessor() -
Method Summary
Modifier and Type Method Description Booleanapply(com.fishlib.io.logger.Logger log, PqStorage pqStorage, AtomicLong nextSerial)Apply the in-worker service persistent query changes to the controller's hash table.
-
Constructor Details
-
InWorkerServiceControllerConfigurationProcessor
public InWorkerServiceControllerConfigurationProcessor()
-
-
Method Details
-
apply
Apply the in-worker service persistent query changes to the controller's hash table. This implementation takes any existingDATA_SERVICES_SCRIPTquery types and converts them toInWorkerServiceSetupQuery.IN_WORKER_SERVICE_CONFIG_TYPEconfigurations.- Specified by:
applyin interfaceFunctionalInterfaces.TriFunction<com.fishlib.io.logger.Logger,PqStorage,AtomicLong,Boolean>- Parameters:
log- a Logger instancepqStorage- the controller's PQ storage providernextSerial- the next available serial- Returns:
- true if any changes were made, false otherwise
-