Is there a recommended or clean way to get the state of an EPRuntime/EPStatement prior to calling EPAdministrator.destroyAllStatements() ?
In a highly concurrent environment, I want to ensure that all StatementAwareUpdateListener(s) have fired from all threads prior to destroying statements.
Use Case:
From multiple threads we evaluate events.
Another thread receives a message to "bounce" the engine and reload its EPL.
If any events are queued, do not stop/destroy current statements.
Thanks in advance-
D.