Class ClientListenerNotifier
java.lang.Object
org.infinispan.client.hotrod.event.impl.ClientListenerNotifier
- Author:
- Galder ZamarreƱo
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientListenerNotifier
(Marshaller marshaller, org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory channelFactory, Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDispatcher
(EventDispatcher<?> dispatcher) org.infinispan.client.hotrod.impl.transport.netty.ChannelFactory
void
failoverClientListener
(byte[] listenerId) void
failoverListeners
(Set<SocketAddress> failedServers) findAddress
(byte[] listenerId) byte[]
findListenerId
(Object listener) getCacheDataFormat
(byte[] listenerId) getListeners
(String cacheName) <T> void
invokeEvent
(byte[] listenerId, T event) boolean
isListenerConnected
(byte[] listenerId) removeClientListener
(byte[] listenerId) void
startClientListener
(byte[] listenerId) void
stop()
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.