Class OnChannelCloseReaper
java.lang.Object
org.infinispan.server.core.transport.OnChannelCloseReaper
- All Implemented Interfaces:
io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<? super Void>>,EventListener
public class OnChannelCloseReaper
extends Object
implements io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<? super Void>>
- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
Constructor Summary
ConstructorsConstructorDescriptionOnChannelCloseReaper(Consumer<io.netty.util.concurrent.Future<? super Void>> consumer) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voidoperationComplete(io.netty.util.concurrent.Future<? super Void> future) voidregisterChannel(io.netty.channel.Channel channel)
-
Constructor Details
-
OnChannelCloseReaper
-
-
Method Details
-
operationComplete
- Specified by:
operationCompletein interfaceio.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<? super Void>>
-
registerChannel
public void registerChannel(io.netty.channel.Channel channel) -
dispose
public void dispose()
-