com.espertech.esper.view
Interface StatementStopService

All Known Implementing Classes:
StatementStopServiceImpl

public interface StatementStopService

Provides statement resources with the means to register a callback and be informed when a statement stopped and resources for the statement must be release.


Method Summary
 void addSubscriber(StatementStopCallback callback)
          Add a callback to perform for a stop of a statement.
 void fireStatementStopped()
          Used by the engine to indicate a statement stopped, invoking any callbacks registered.
 

Method Detail

addSubscriber

void addSubscriber(StatementStopCallback callback)
Add a callback to perform for a stop of a statement.

Parameters:
callback - is the callback function

fireStatementStopped

void fireStatementStopped()
Used by the engine to indicate a statement stopped, invoking any callbacks registered.


© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com