Class ClientListenerNotifier
java.lang.Object
org.infinispan.client.hotrod.event.impl.ClientListenerNotifier
- Author:
- Galder ZamarreƱo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientListenerNotifier(org.infinispan.commons.marshall.Marshaller marshaller, ChannelFactory channelFactory, Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDispatcher(EventDispatcher<?> dispatcher) org.infinispan.commons.configuration.ClassAllowListvoidfailoverClientListener(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) org.infinispan.commons.marshall.MarshallerremoveClientListener(byte[] listenerId) voidstartClientListener(byte[] listenerId) voidstop()org.infinispan.commons.configuration.ClassAllowListDeprecated, 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(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, for removal: This API element is subject to removal in a future version.UseallowList()instead. To be removed in 14.0. -
channelFactory
-
allowList()instead.