Package org.apache.cassandra.transport
Class Server.ConnectionTracker
- java.lang.Object
-
- org.apache.cassandra.transport.Server.ConnectionTracker
-
- All Implemented Interfaces:
Connection.Tracker
- Enclosing class:
- Server
public static class Server.ConnectionTracker extends java.lang.Object implements Connection.Tracker
-
-
Field Summary
Fields Modifier and Type Field Description io.netty.channel.group.ChannelGroup
allChannels
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConnection(io.netty.channel.Channel ch, Connection connection)
boolean
isRunning()
void
register(Event.Type type, io.netty.channel.Channel ch)
void
send(Event event)
-
-
-
Method Detail
-
addConnection
public void addConnection(io.netty.channel.Channel ch, Connection connection)
- Specified by:
addConnection
in interfaceConnection.Tracker
-
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interfaceConnection.Tracker
-
register
public void register(Event.Type type, io.netty.channel.Channel ch)
-
send
public void send(Event event)
-
-