public interface EPStatementStateListener
Implementations must not block the operation.
Modifier and Type | Method and Description |
---|---|
void |
onStatementCreate(EPServiceProvider serviceProvider,
EPStatement statement)
Called to indicate that a new statement has been created in stopped state.
|
void |
onStatementStateChange(EPServiceProvider serviceProvider,
EPStatement statement)
Called to indicate that a statement has changed state.
|
void onStatementCreate(EPServiceProvider serviceProvider, EPStatement statement)
The #onStatementStateChange method is also invoked upon statement start.
serviceProvider
- the service provider instance under which the statement has been createdstatement
- the new statementvoid onStatementStateChange(EPServiceProvider serviceProvider, EPStatement statement)
serviceProvider
- the service provider instance under which the statement has been createdstatement
- the statement that changed state