Package akka.http.scaladsl
Class Http.HostConnectionPool
- java.lang.Object
-
- akka.http.scaladsl.Http.HostConnectionPool
-
- All Implemented Interfaces:
scala.Equals
,scala.Product
- Direct Known Subclasses:
Http.HostConnectionPoolImpl
- Enclosing class:
- Http
public abstract static class Http.HostConnectionPool extends java.lang.Object implements scala.Product
Represents a connection pool to a specific target host and pool configuration.Not for user extension.
-
-
Constructor Summary
Constructors Constructor Description HostConnectionPool()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object that)
int
productArity()
java.lang.Object
productElement(int n)
abstract HostConnectionPoolSetup
setup()
abstract scala.concurrent.Future<akka.Done>
shutdown()
Asynchronously triggers the shutdown of the host connection pool.HostConnectionPool
toJava()
-
-
-
Method Detail
-
setup
public abstract HostConnectionPoolSetup setup()
-
shutdown
public abstract scala.concurrent.Future<akka.Done> shutdown()
Asynchronously triggers the shutdown of the host connection pool.The produced
Future
is fulfilled when the shutdown has been completed.- Returns:
- (undocumented)
-
toJava
public HostConnectionPool toJava()
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int n)
- Specified by:
productElement
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object that)
- Specified by:
canEqual
in interfacescala.Equals
-
-