public interface EPStageService
This API is under development for version 8.4 and newer, and is considered UNSTABLE.
Stages are uniquely identified by a stage URI.
Use getStage(String)
to allocate a stage, of if the stage is already allocated to obtain the stage.
Use getExistingStage(String)
to obtain an existing stage without allocating.
Modifier and Type | Method and Description |
---|---|
EPStage |
getExistingStage(java.lang.String stageUri)
Returns the existing stage for the provided URI, or null if a stage for the URI has not already been allocated.
|
EPStage |
getStage(java.lang.String stageUri)
Allocate a new stage or returns the existing stage if the stage for the same URI is already allocated.
|
java.lang.String[] |
getStageURIs()
Returns the URI values of all stages that are currently allocated.
|
EPStage getStage(java.lang.String stageUri) throws EPRuntimeDestroyedException
stageUri
- unique identifierEPRuntimeDestroyedException
- if the runtime is already destroyedEPStage getExistingStage(java.lang.String stageUri) throws EPRuntimeDestroyedException
stageUri
- stage URIEPRuntimeDestroyedException
- if the runtime is already destroyedjava.lang.String[] getStageURIs() throws EPRuntimeDestroyedException
EPRuntimeDestroyedException
- if the runtime is already destroyed