public class ClientEvents extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONTINUOUS_QUERY_FILTER_FACTORY_NAME
Deprecated.
replaced by
Filters.CONTINUOUS_QUERY_FILTER_FACTORY_NAME ; will be removed in 8.3 |
static String |
QUERY_DSL_FILTER_FACTORY_NAME
Deprecated.
replaced by
Filters.QUERY_DSL_FILTER_FACTORY_NAME ; will be removed in 8.3 |
Modifier and Type | Method and Description |
---|---|
static void |
addClientQueryListener(RemoteCache<?,?> remoteCache,
Object listener,
org.infinispan.query.dsl.Query query)
Register a client listener that uses a query DSL based filter.
|
static Object |
addContinuousQueryListener(RemoteCache<?,?> remoteCache,
ContinuousQueryListener queryListener,
org.infinispan.query.dsl.Query query)
Deprecated.
use
ContinuousQuery.addContinuousQueryListener(java.lang.String, org.infinispan.query.api.continuous.ContinuousQueryListener<K, C>) instead; to be removed in 8.3 |
static ClientCacheFailoverEvent |
mkCachefailoverEvent() |
@Deprecated public static final String QUERY_DSL_FILTER_FACTORY_NAME
Filters.QUERY_DSL_FILTER_FACTORY_NAME
; will be removed in 8.3@Deprecated public static final String CONTINUOUS_QUERY_FILTER_FACTORY_NAME
Filters.CONTINUOUS_QUERY_FILTER_FACTORY_NAME
; will be removed in 8.3public static ClientCacheFailoverEvent mkCachefailoverEvent()
public static void addClientQueryListener(RemoteCache<?,?> remoteCache, Object listener, org.infinispan.query.dsl.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)@Deprecated public static Object addContinuousQueryListener(RemoteCache<?,?> remoteCache, ContinuousQueryListener queryListener, org.infinispan.query.dsl.Query query)
ContinuousQuery.addContinuousQueryListener(java.lang.String, org.infinispan.query.api.continuous.ContinuousQueryListener<K, C>)
instead; to be removed in 8.3RemoteCache.removeClientListener(java.lang.Object)
method using the returned client listener as argument.remoteCache
- the remote cache to attach the continuous query listenerqueryListener
- the continuous query listener instancequery
- the query to be used for determining the matching setCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.