Example usage for io.vertx.core.http HttpClientOptions DEFAULT_MAX_POOL_SIZE

List of usage examples for io.vertx.core.http HttpClientOptions DEFAULT_MAX_POOL_SIZE

Introduction

In this page you can find the example usage for io.vertx.core.http HttpClientOptions DEFAULT_MAX_POOL_SIZE.

Prototype

int DEFAULT_MAX_POOL_SIZE

To view the source code for io.vertx.core.http HttpClientOptions DEFAULT_MAX_POOL_SIZE.

Click Source Link

Document

The default maximum number of HTTP/1 connections a client will pool = 5

Usage

From source file:org.apache.servicecomb.transport.rest.client.TransportClientConfig.java

License:Apache License

public static int getConnectionMaxPoolSize() {
    return DynamicPropertyFactory.getInstance().getIntProperty("servicecomb.rest.client.connection.maxPoolSize",
            HttpClientOptions.DEFAULT_MAX_POOL_SIZE).get();
}