Class ClientEvents


  • public class ClientEvents
    extends java.lang.Object
    • Method Detail

      • addClientQueryListener

        public static void addClientQueryListener​(RemoteCache<?,​?> remoteCache,
                                                  java.lang.Object listener,
                                                  Query query)
        Register a client listener that uses a query DSL based filter. The listener is expected to be annotated such that ClientListener.useRawData() = true and ClientListener.filterFactoryName() and ClientListener.converterFactoryName() are equal to Filters.QUERY_DSL_FILTER_FACTORY_NAME
        Parameters:
        remoteCache - the remote cache to attach the listener
        listener - the listener instance
        query - the query to be used for filtering and conversion (if projections are used)