public class ClientEvents extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addClientQueryListener(RemoteCache<?,?> remoteCache,
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, Object listener, Query query)
ClientListener.useRawData()
= true and ClientListener.filterFactoryName()
and ClientListener.converterFactoryName()
are equal to Filters.QUERY_DSL_FILTER_FACTORY_NAME
remoteCache
- the remote cache to attach the listenerlistener
- the listener instancequery
- the query to be used for filtering and conversion (if projections are used)Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.