blob: 569172b2c6e1dd5ba1d1e04eca6ec33d9c0693d2 [file] [log] [blame]
package com.gemstone.gemfire.mgmt.DataBrowser.controller;
/**
* This interface provides call back functionality for listening query execution
* completed result
*
* @author mjha
**/
public interface IQueryExecutionListener {
/**
* to be called when query is successfully executed
*
* @param queryEvent
* instance of {@link IQueryExecutedEvent }
*/
public void queryExecuted(IQueryExecutedEvent queryEvent);
/**
* to be called when error occurred while executing query
*
* @param queryEvent
* instance of {@link IQueryExecutedEvent }
* @param ex
* exception occurred while executing query
*/
public void queryFailed(IQueryExecutedEvent queryEvent, Throwable ex);
}