Class ClientListenerNotifier
java.lang.Object
org.infinispan.client.hotrod.event.impl.ClientListenerNotifier
- Author:
- Galder ZamarreƱo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientListenerNotifier(Marshaller marshaller, org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory channelFactory, Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDispatcher(EventDispatcher<?> dispatcher) org.infinispan.client.hotrod.impl.transport.netty.ChannelFactoryvoidfailoverClientListener(byte[] listenerId) voidfailoverListeners(Set<SocketAddress> failedServers) findAddress(byte[] listenerId) byte[]findListenerId(Object listener) getCacheDataFormat(byte[] listenerId) getListeners(String cacheName) <T> voidinvokeEvent(byte[] listenerId, T event) booleanisListenerConnected(byte[] listenerId) removeClientListener(byte[] listenerId) voidstartClientListener(byte[] listenerId) voidstop()Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
counter
-
RECONNECT_PERIOD
public static final int RECONNECT_PERIOD- See Also:
-
-
Constructor Details
-
ClientListenerNotifier
public ClientListenerNotifier(Marshaller marshaller, org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory channelFactory, Configuration configuration)
-
-
Method Details
-
marshaller
-
addDispatcher
-
failoverListeners
-
failoverClientListener
public void failoverClientListener(byte[] listenerId) -
startClientListener
public void startClientListener(byte[] listenerId) -
removeClientListener
-
findListenerId
-
isListenerConnected
public boolean isListenerConnected(byte[] listenerId) -
findAddress
-
getListeners
-
stop
public void stop() -
invokeEvent
public <T> void invokeEvent(byte[] listenerId, T event) -
getCacheDataFormat
-
allowList
-
whitelist
Deprecated, for removal: This API element is subject to removal in a future version.UseallowList()instead. To be removed in 14.0. -
channelFactory
public org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory channelFactory()
-
allowList()instead.