Class NettyClientProperties
- java.lang.Object
-
- org.glassfish.jersey.netty.connector.NettyClientProperties
-
public class NettyClientProperties extends Object
Configuration options specific to the Client API that utilizesNettyConnectorProvider.- Since:
- 2.32
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDLE_CONNECTION_PRUNE_TIMEOUTThis property determines the number of seconds the idle connections are kept in the pool before pruned.static StringMAX_CONNECTIONSThis property determines the maximum number of idle connections that will be simultaneously kept alive, per destination.static StringMAX_CONNECTIONS_TOTALThis property determines the maximum number of idle connections that will be simultaneously kept alive in total, rather than per destination.
-
Constructor Summary
Constructors Constructor Description NettyClientProperties()
-
-
-
Field Detail
-
MAX_CONNECTIONS_TOTAL
public static final String MAX_CONNECTIONS_TOTAL
This property determines the maximum number of idle connections that will be simultaneously kept alive in total, rather than per destination. The default is 60. Specify 0 to disable.
- See Also:
- Constant Field Values
-
IDLE_CONNECTION_PRUNE_TIMEOUT
public static final String IDLE_CONNECTION_PRUNE_TIMEOUT
This property determines the number of seconds the idle connections are kept in the pool before pruned. The default is 60. Specify 0 to disable.
- See Also:
- Constant Field Values
-
MAX_CONNECTIONS
public static final String MAX_CONNECTIONS
This property determines the maximum number of idle connections that will be simultaneously kept alive, per destination. The default is 5.
This property is a Jersey alternative to System property http.maxConnections. The Jersey property takes precedence over the system property.
- See Also:
- Constant Field Values
-
-