Package org.apache.pulsar.broker.service
Class ConnectionController.DefaultConnectionController
java.lang.Object
org.apache.pulsar.broker.service.ConnectionController.DefaultConnectionController
- All Implemented Interfaces:
ConnectionController
- Enclosing interface:
- ConnectionController
public static class ConnectionController.DefaultConnectionController
extends Object
implements ConnectionController
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pulsar.broker.service.ConnectionController
ConnectionController.DefaultConnectionController, ConnectionController.State -
Constructor Summary
ConstructorsConstructorDescriptionDefaultConnectionController(org.apache.pulsar.broker.ServiceConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecreaseConnection(SocketAddress remoteAddress) Decrease the number of connections counter.increaseConnection(SocketAddress remoteAddress) Increase the number of connections counter.
-
Constructor Details
-
DefaultConnectionController
public DefaultConnectionController(org.apache.pulsar.broker.ServiceConfiguration configuration)
-
-
Method Details
-
increaseConnection
Description copied from interface:ConnectionControllerIncrease the number of connections counter.- Specified by:
increaseConnectionin interfaceConnectionController- Returns:
-
decreaseConnection
Description copied from interface:ConnectionControllerDecrease the number of connections counter.- Specified by:
decreaseConnectionin interfaceConnectionController
-