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
Represents a connection pool to a specific target host and pool configuration.
Not for user extension.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
productElement
(int n) abstract HostConnectionPoolSetup
setup()
abstract scala.concurrent.Future<akka.Done>
shutdown()
Asynchronously triggers the shutdown of the host connection pool.toJava()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
equals
Methods inherited from interface scala.Product
productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
HostConnectionPool
public HostConnectionPool()
-
-
Method Details
-
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
-
productArity
public int productArity()- Specified by:
productArity
in interfacescala.Product
-
productElement
- Specified by:
productElement
in interfacescala.Product
-
canEqual
- Specified by:
canEqual
in interfacescala.Equals
-