TcpConnectionPool Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. models. TcpConnectionPool
- com.
Implements
public final class TcpConnectionPool
implements JsonSerializable<TcpConnectionPool>
Defines parameters for tcp connection pooling.
Constructor Summary
| Constructor | Description |
|---|---|
| TcpConnectionPool() |
Creates an instance of Tcp |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Tcp |
fromJson(JsonReader jsonReader)
Reads an instance of Tcp |
| Integer |
maxConnections()
Get the max |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Tcp |
withMaxConnections(Integer maxConnections)
Set the max |
Methods inherited from java.lang.Object
Constructor Details
TcpConnectionPool
public TcpConnectionPool()
Creates an instance of TcpConnectionPool class.
Method Details
fromJson
public static TcpConnectionPool fromJson(JsonReader jsonReader)
Reads an instance of TcpConnectionPool from the JsonReader.
Parameters:
Returns:
Throws:
maxConnections
public Integer maxConnections()
Get the maxConnections property: Maximum number of tcp connections allowed.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMaxConnections
public TcpConnectionPool withMaxConnections(Integer maxConnections)
Set the maxConnections property: Maximum number of tcp connections allowed.
Parameters:
Returns: