Interface StageBundleFactory
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface StageBundleFactory extends java.lang.AutoCloseableA bundle factory scoped to a particularExecutableStage, which has all of the resources it needs to provide newRemoteBundles.Closing a StageBundleFactory signals that the stage has completed and any resources bound to its lifetime can be cleaned up.
-
-
Method Summary
-
-
-
Method Detail
-
getBundle
default RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler) throws java.lang.Exception
Get a newbundlefor processing the data in an executable stage.- Throws:
java.lang.Exception
-
getBundle
default RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler, BundleFinalizationHandler finalizationHandler) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getBundle
default RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler, BundleFinalizationHandler finalizationHandler, BundleCheckpointHandler checkpointHandler) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getBundle
default RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, TimerReceiverFactory timerReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler) throws java.lang.Exception
Get a newbundlefor processing the data in an executable stage.- Throws:
java.lang.Exception
-
getBundle
default RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, TimerReceiverFactory timerReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler, BundleFinalizationHandler finalizationHandler) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getBundle
RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, TimerReceiverFactory timerReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler, BundleFinalizationHandler finalizationHandler, BundleCheckpointHandler checkpointHandler) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getProcessBundleDescriptor
ProcessBundleDescriptors.ExecutableProcessBundleDescriptor getProcessBundleDescriptor()
-
getInstructionRequestHandler
InstructionRequestHandler getInstructionRequestHandler()
-
-