Class ClientEvents
java.lang.Object
org.infinispan.client.hotrod.event.ClientEvents
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddClientQueryListener(RemoteCache<?, ?> remoteCache, Object listener, Query<?> query) Register a client listener that uses a query DSL based filter.static ClientCacheFailoverEventDeprecated, for removal: This API element is subject to removal in a future version.since 10.1.2.
-
Method Details
-
mkCachefailoverEvent
Deprecated, for removal: This API element is subject to removal in a future version.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)
-