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