Class ClientEvents
- java.lang.Object
-
- org.infinispan.client.hotrod.event.ClientEvents
-
public class ClientEvents extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
addClientQueryListener(RemoteCache<?,?> remoteCache, Object listener, Query<?> query)
Register a client listener that uses a query DSL based filter.static ClientCacheFailoverEvent
mkCachefailoverEvent()
Deprecated.since 10.1.2.
-
-
-
Method Detail
-
mkCachefailoverEvent
@Deprecated public static ClientCacheFailoverEvent mkCachefailoverEvent()
Deprecated.since 10.1.2. Will be removed in 11 without replacement.
-
addClientQueryListener
public static void addClientQueryListener(RemoteCache<?,?> remoteCache, Object listener, Query<?> query)
Register a client listener that uses a query DSL based filter. The listener is expected to be annotated such thatClientListener.useRawData()
= true andClientListener.filterFactoryName()
andClientListener.converterFactoryName()
are equal toFilters.QUERY_DSL_FILTER_FACTORY_NAME
- Parameters:
remoteCache
- the remote cache to attach the listenerlistener
- the listener instancequery
- the query to be used for filtering and conversion (if projections are used)
-
-