Package org.apache.pulsar.broker.service
Interface ConnectionController
-
- All Known Implementing Classes:
ConnectionController.DefaultConnectionController
public interface ConnectionController
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConnectionController.DefaultConnectionControllerstatic classConnectionController.State
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddecreaseConnection(java.net.SocketAddress remoteAddress)Decrease the number of connections counter.ConnectionController.StateincreaseConnection(java.net.SocketAddress remoteAddress)Increase the number of connections counter.
-
-
-
Method Detail
-
increaseConnection
ConnectionController.State increaseConnection(java.net.SocketAddress remoteAddress)
Increase the number of connections counter.- Parameters:
remoteAddress-- Returns:
-
decreaseConnection
void decreaseConnection(java.net.SocketAddress remoteAddress)
Decrease the number of connections counter.- Parameters:
remoteAddress-
-
-