Class ConnectionManagerImpl
java.lang.Object
com.swiftmq.impl.net.netty.ConnectionManagerImpl
- All Implemented Interfaces:
com.swiftmq.swiftlet.net.ConnectionManager
public class ConnectionManagerImpl
extends Object
implements com.swiftmq.swiftlet.net.ConnectionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConnection(com.swiftmq.swiftlet.net.Connection connection) voidvoidintvoidvoidremoveConnection(com.swiftmq.swiftlet.net.Connection connection) toString()
-
Constructor Details
-
ConnectionManagerImpl
-
-
Method Details
-
getNumberConnections
public int getNumberConnections()- Specified by:
getNumberConnectionsin interfacecom.swiftmq.swiftlet.net.ConnectionManager
-
addConnection
public void addConnection(com.swiftmq.swiftlet.net.Connection connection) - Specified by:
addConnectionin interfacecom.swiftmq.swiftlet.net.ConnectionManager
-
removeConnection
public void removeConnection(com.swiftmq.swiftlet.net.Connection connection) - Specified by:
removeConnectionin interfacecom.swiftmq.swiftlet.net.ConnectionManager
-
removeAllConnections
public void removeAllConnections()- Specified by:
removeAllConnectionsin interfacecom.swiftmq.swiftlet.net.ConnectionManager
-
clearLastCollectTime
public void clearLastCollectTime() -
collectByteCounts
public void collectByteCounts() -
toString
-