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.
Modifier and Type | Method and Description |
---|---|
RemoteBundle |
getBundle(OutputReceiverFactory outputReceiverFactory,
StateRequestHandler stateRequestHandler,
BundleProgressHandler progressHandler)
Get a new
bundle for processing the data in an executable stage. |
ProcessBundleDescriptors.ExecutableProcessBundleDescriptor |
getProcessBundleDescriptor() |
RemoteBundle getBundle(OutputReceiverFactory outputReceiverFactory, StateRequestHandler stateRequestHandler, BundleProgressHandler progressHandler) throws java.lang.Exception
bundle
for processing the data in an executable stage.java.lang.Exception
ProcessBundleDescriptors.ExecutableProcessBundleDescriptor getProcessBundleDescriptor()