public class ClientEvents
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addClientQueryListener(RemoteCache<?,?> remoteCache,
java.lang.Object listener,
Query query)
Register a client listener that uses a query DSL based filter.
|
static ClientCacheFailoverEvent |
mkCachefailoverEvent() |
public static ClientCacheFailoverEvent mkCachefailoverEvent()
public static void addClientQueryListener(RemoteCache<?,?> remoteCache, java.lang.Object listener, Query query)
ClientListener.useRawData() = true and ClientListener.filterFactoryName() and ClientListener.converterFactoryName() are equal to Filters.QUERY_DSL_FILTER_FACTORY_NAMEremoteCache - the remote cache to attach the listenerlistener - the listener instancequery - the query to be used for filtering and conversion (if projections are used)