public < C > void addContinuousQueryListener ( Query query , ContinuousQueryListener < K , C > listener ) { addContinuousQueryListener ( query . getQueryString ( ) , query . getParameters ( ) , listener ) ; }
Registers a continuous query listener that uses a query DSL based filter . The listener will receive notifications when a cache entry joins or leaves the matching set defined by the query .