public class ClientListenerNotifier extends Object
Modifier and Type | Field and Description |
---|---|
static AtomicInteger |
counter |
static int |
RECONNECT_PERIOD |
Constructor and Description |
---|
ClientListenerNotifier(Codec codec,
Marshaller marshaller,
ChannelFactory channelFactory,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
addDispatcher(EventDispatcher<?> dispatcher) |
ChannelFactory |
channelFactory() |
Codec |
codec() |
void |
failoverClientListener(byte[] listenerId) |
void |
failoverListeners(Set<SocketAddress> failedServers) |
SocketAddress |
findAddress(byte[] listenerId) |
byte[] |
findListenerId(Object listener) |
DataFormat |
getCacheDataFormat(byte[] listenerId) |
Set<Object> |
getListeners(String cacheName) |
<T> void |
invokeEvent(byte[] listenerId,
T event) |
boolean |
isListenerConnected(byte[] listenerId) |
Marshaller |
marshaller() |
EventDispatcher<?> |
removeClientListener(byte[] listenerId) |
void |
startClientListener(byte[] listenerId) |
void |
stop() |
ClassWhiteList |
whitelist() |
public static final AtomicInteger counter
public static final int RECONNECT_PERIOD
public ClientListenerNotifier(Codec codec, Marshaller marshaller, ChannelFactory channelFactory, Configuration configuration)
public Marshaller marshaller()
public void addDispatcher(EventDispatcher<?> dispatcher)
public void failoverListeners(Set<SocketAddress> failedServers)
public void failoverClientListener(byte[] listenerId)
public void startClientListener(byte[] listenerId)
public EventDispatcher<?> removeClientListener(byte[] listenerId)
public byte[] findListenerId(Object listener)
public boolean isListenerConnected(byte[] listenerId)
public SocketAddress findAddress(byte[] listenerId)
public void stop()
public <T> void invokeEvent(byte[] listenerId, T event)
public DataFormat getCacheDataFormat(byte[] listenerId)
public Codec codec()
public ClassWhiteList whitelist()
public ChannelFactory channelFactory()
Copyright © 2021 JBoss by Red Hat. All rights reserved.