public class CleanupChannelGroup extends io.netty.channel.group.DefaultChannelGroup
DefaultChannelGroup that's used mainly as a cleanup container, where close() is only
supposed to be called once.| Constructor and Description |
|---|
CleanupChannelGroup() |
CleanupChannelGroup(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Channel channel) |
io.netty.channel.group.ChannelGroupFuture |
close() |
clear, close, compareTo, contains, deregister, deregister, disconnect, disconnect, equals, flush, flush, flushAndWrite, flushAndWrite, hashCode, isEmpty, iterator, name, newCloseFuture, newCloseFuture, remove, size, toArray, toArray, toString, write, write, writeAndFlush, writeAndFlushremoveAlladdAll, containsAll, retainAllclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, removeAll, retainAll, spliteratorparallelStream, removeIf, streampublic CleanupChannelGroup()
public CleanupChannelGroup(String name)
public io.netty.channel.group.ChannelGroupFuture close()
close in interface io.netty.channel.group.ChannelGroupclose in class io.netty.channel.group.DefaultChannelGrouppublic boolean add(Channel channel)
add in interface Collection<Channel>add in interface Set<Channel>add in class io.netty.channel.group.DefaultChannelGroupCopyright © 2016. All Rights Reserved.