Class ClientListenerNotifier
java.lang.Object
org.infinispan.client.hotrod.event.impl.ClientListenerNotifier
- Author:
- Galder ZamarreƱo
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientListenerNotifier
(org.infinispan.commons.marshall.Marshaller marshaller, ChannelFactory channelFactory, Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDispatcher
(EventDispatcher<?> dispatcher) org.infinispan.commons.configuration.ClassAllowList
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) org.infinispan.commons.marshall.Marshaller
removeClientListener
(byte[] listenerId) void
startClientListener
(byte[] listenerId) void
stop()
org.infinispan.commons.configuration.ClassAllowList
Deprecated.
-
Field Details
-
counter
-
RECONNECT_PERIOD
public static final int RECONNECT_PERIOD- See Also:
-
-
Constructor Details
-
ClientListenerNotifier
public ClientListenerNotifier(org.infinispan.commons.marshall.Marshaller marshaller, ChannelFactory channelFactory, Configuration configuration)
-
-
Method Details
-
marshaller
public org.infinispan.commons.marshall.Marshaller 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
public org.infinispan.commons.configuration.ClassAllowList allowList() -
whitelist
Deprecated.UseallowList()
instead. To be removed in 14.0. -
channelFactory
-
allowList()
instead.