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(io.netty.channel.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, writeAndFlush
removeAll
addAll, containsAll, retainAll
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, removeAll, retainAll, spliterator
parallelStream, removeIf, stream
public CleanupChannelGroup()
public CleanupChannelGroup(String name)
public io.netty.channel.group.ChannelGroupFuture close()
close
in interface io.netty.channel.group.ChannelGroup
close
in class io.netty.channel.group.DefaultChannelGroup
public boolean add(io.netty.channel.Channel channel)
add
in interface Collection<io.netty.channel.Channel>
add
in interface Set<io.netty.channel.Channel>
add
in class io.netty.channel.group.DefaultChannelGroup
Copyright © 2015. All Rights Reserved.