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 TypeMethodDescriptionbooleanintproductElement(int n) abstract HostConnectionPoolSetupsetup()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, waitMethods inherited from interface scala.Equals
equalsMethods inherited from interface scala.Product
productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
HostConnectionPool
public HostConnectionPool()
-
-
Method Details
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin 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
Futureis fulfilled when the shutdown has been completed.- Returns:
- (undocumented)
-
toJava
-