Class ClientCounterManagerNotificationManager
- java.lang.Object
-
- org.infinispan.server.hotrod.counter.listener.ClientCounterManagerNotificationManager
-
public class ClientCounterManagerNotificationManager extends java.lang.Object
TheCounterManager
notification manager.For each client, it associates a
ClientNotificationManager
to handle that particular client requests.- Since:
- 9.2
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description ClientCounterManagerNotificationManager(CounterManager counterManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerOperationStatus
addCounterListener(byte[] listenerId, byte version, java.lang.String counterName, io.netty.channel.Channel channel, VersionedEncoder encoder)
void
channelActive(io.netty.channel.Channel channel)
ListenerOperationStatus
removeCounterListener(byte[] listenerId, java.lang.String counterName)
void
stop()
-
-
-
Constructor Detail
-
ClientCounterManagerNotificationManager
public ClientCounterManagerNotificationManager(CounterManager counterManager)
-
-
Method Detail
-
stop
public void stop()
-
addCounterListener
public ListenerOperationStatus addCounterListener(byte[] listenerId, byte version, java.lang.String counterName, io.netty.channel.Channel channel, VersionedEncoder encoder)
-
removeCounterListener
public ListenerOperationStatus removeCounterListener(byte[] listenerId, java.lang.String counterName)
-
channelActive
public void channelActive(io.netty.channel.Channel channel)
-
-