Package org.infinispan.hotrod.event.impl
Class ClientListenerNotifier
java.lang.Object
org.infinispan.hotrod.event.impl.ClientListenerNotifier
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientListenerNotifier(Codec codec, ChannelFactory channelFactory, HotRodConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDispatcher(EventDispatcher<?> dispatcher) org.infinispan.commons.configuration.ClassAllowListcodec()voidfailoverClientListener(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()
-
Field Details
-
counter
-
RECONNECT_PERIOD
public static final int RECONNECT_PERIOD- See Also:
-
-
Constructor Details
-
ClientListenerNotifier
public ClientListenerNotifier(Codec codec, ChannelFactory channelFactory, HotRodConfiguration configuration)
-
-
Method Details
-
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
-
codec
-
allowList
public org.infinispan.commons.configuration.ClassAllowList allowList() -
channelFactory
-