abstract class ConnectionPoolSettings extends AnyRef
Public API but not intended for subclassing
- Self Type
- ConnectionPoolSettingsImpl
- Annotations
- @DoNotInherit()
- Source
- ConnectionPoolSettings.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConnectionPoolSettings
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- def getBaseConnectionBackoff: FiniteDuration
- def getConnectionSettings: ClientConnectionSettings
- def getIdleTimeout: Duration
- def getKeepAliveTimeout: Duration
- def getMaxConnectionBackoff: FiniteDuration
- def getMaxConnections: Int
- def getMaxOpenRequests: Int
- def getMaxRetries: Int
- def getMinConnections: Int
- def getPipeliningLimit: Int
-
def
getPoolImplementation: PoolImplementation
- Annotations
- @ApiMayChange()
-
def
getResponseEntitySubscriptionTimeout: Duration
- Annotations
- @ApiMayChange()
- def withBaseConnectionBackoff(newValue: FiniteDuration): ConnectionPoolSettings
- def withConnectionSettings(newValue: ClientConnectionSettings): ConnectionPoolSettings
- def withIdleTimeout(newValue: Duration): ConnectionPoolSettings
- def withKeepAliveTimeout(newValue: Duration): ConnectionPoolSettings
- def withMaxConnectionBackoff(newValue: FiniteDuration): ConnectionPoolSettings
- def withMaxConnectionLifetime(newValue: Duration): ConnectionPoolSettings
- def withMaxConnections(n: Int): ConnectionPoolSettings
- def withMaxOpenRequests(newValue: Int): ConnectionPoolSettings
- def withMaxRetries(n: Int): ConnectionPoolSettings
- def withMinConnections(n: Int): ConnectionPoolSettings
-
def
withPipeliningLimit(newValue: Int): ConnectionPoolSettings
Client-side pipelining is not currently supported, see https://github.com/akka/akka-http/issues/32
-
def
withPoolImplementation(newValue: PoolImplementation): ConnectionPoolSettings
- Annotations
- @ApiMayChange()
-
def
withResponseEntitySubscriptionTimeout(newValue: Duration): ConnectionPoolSettings
- Annotations
- @ApiMayChange()
- def withTransport(newValue: ClientTransport): ConnectionPoolSettings
Deprecated Value Members
-
def
getTransport: ClientTransport
The underlying transport used to connect to hosts.
The underlying transport used to connect to hosts. By default ClientTransport.TCP is used.
- Annotations
- @deprecated @Deprecated
- Deprecated
(Since version 10.1.0) Deprecated in favor of getConnectionSettings.getTransport.