public interface StageBundleFactory<T>
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<T> |
getBundle(OutputReceiverFactory outputReceiverFactory,
StateRequestHandler stateRequestHandler)
Get a new
bundle for processing the data in an executable stage. |
RemoteBundle<T> getBundle(OutputReceiverFactory outputReceiverFactory, StateRequestHandler stateRequestHandler) throws java.lang.Exception
bundle
for processing the data in an executable stage.java.lang.Exception