Package org.apache.pekko.http.scaladsl
Class Http.HostConnectionPool
java.lang.Object
org.apache.pekko.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
productElement
(int n) abstract HostConnectionPoolSetup
setup()
abstract scala.concurrent.Future<org.apache.pekko.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
-
canEqual
- Specified by:
canEqual
in interfacescala.Equals
-
productArity
public int productArity()- Specified by:
productArity
in interfacescala.Product
-
productElement
- Specified by:
productElement
in interfacescala.Product
-
setup
-
shutdown
public abstract scala.concurrent.Future<org.apache.pekko.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
-