public class ClientEvents extends Object
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 ClientCacheFailoverEvent |
mkCachefailoverEvent()
Deprecated.
since 10.1.2. Will be removed in 11 without replacement.
|
@Deprecated public 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)Copyright © 2021 JBoss by Red Hat. All rights reserved.