Example usage for org.springframework.data.gemfire.listener ContinuousQueryListener onEvent

List of usage examples for org.springframework.data.gemfire.listener ContinuousQueryListener onEvent

Introduction

In this page you can find the example usage for org.springframework.data.gemfire.listener ContinuousQueryListener onEvent.

Prototype

void onEvent(CqEvent event);

Source Link

Document

Action performed by the listener when notified of a CQ event.

Usage

From source file:org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer.java

/**
 * Execute the specified listener./*from   w  ww .  ja va 2  s .  co  m*/
 * 
 * @see #handleListenerException
 */
protected void executeListener(ContinuousQueryListener listener, CqEvent event) {
    try {
        listener.onEvent(event);
    } catch (Throwable ex) {
        handleListenerException(ex);
    }
}