public int getMaxConnections ( ) { stateCheck ( State . CREATED , State . RUNNING , State . HEALTH_CHECKING ) ; return permits . getMaxPermits ( ) ; }
Returns the maximum number of connections allowed .