public interface StageBundleFactory
extends java.lang.AutoCloseable
ExecutableStage
, which has all of the resources
it needs to provide new RemoteBundles
.
Closing a StageBundleFactory signals that the stage has completed and any resources bound to its lifetime can be cleaned up.
default RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler) throws java.lang.Exception
bundle
for processing the data in an executable stage.java.lang.Exception
default RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler, BundleFinalizationHandler finalizationHandler) throws java.lang.Exception
java.lang.Exception
default RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler, BundleFinalizationHandler finalizationHandler, BundleCheckpointHandler checkpointHandler) throws java.lang.Exception
java.lang.Exception
default RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, TimerReceiverFactory timerReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler) throws java.lang.Exception
bundle
for processing the data in an executable stage.java.lang.Exception
default RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, TimerReceiverFactory timerReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler, BundleFinalizationHandler finalizationHandler) throws java.lang.Exception
java.lang.Exception
RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, TimerReceiverFactory timerReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler, BundleFinalizationHandler finalizationHandler, BundleCheckpointHandler checkpointHandler) throws java.lang.Exception
java.lang.Exception
ProcessBundleDescriptors.ExecutableProcessBundleDescriptor getProcessBundleDescriptor()
InstructionRequestHandler getInstructionRequestHandler()