Class ThrowingInitializer
java.lang.Object
com.illumon.iris.controller.handle.ThrowingInitializer
- All Implemented Interfaces:
CorePlusInitializer
This initializer throws an exception when used.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecuted before the PQ is initialized, for example to send pq-specific data to the workerGets the requested script-language for this PQ instanceExecuted when the PQ is ready to execute commandsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.controller.handle.CorePlusInitializer
hasNotebookClassLoader
-
Constructor Details
-
ThrowingInitializer
public ThrowingInitializer()
-
-
Method Details
-
doBeforeInitialize
public CompletableFuture<Void> doBeforeInitialize(CommunityPersistentQueryHandle.CommunityWorkerHandle handle) Description copied from interface:CorePlusInitializerExecuted before the PQ is initialized, for example to send pq-specific data to the worker- Specified by:
doBeforeInitializein interfaceCorePlusInitializer- Parameters:
handle- a handle to the worker
-
initialize
Description copied from interface:CorePlusInitializerExecuted when the PQ is ready to execute commands- Specified by:
initializein interfaceCorePlusInitializer- Parameters:
handle- a handle to the worker- Returns:
- the PQ state
-
getLanguage
Description copied from interface:CorePlusInitializerGets the requested script-language for this PQ instance- Specified by:
getLanguagein interfaceCorePlusInitializer- Parameters:
config- the PQ configuration, as known by the controller- Returns:
- the requested script-language
-