Package akka.http.impl.engine.client
Class PoolId
- java.lang.Object
-
- akka.http.impl.engine.client.PoolId
-
public final class PoolId extends java.lang.ObjectRepresents a pool by its target endpoint and settings and its designated usage (shared or unique).A
PoolIdis represented by itsHostConnectionPoolSetupand itsPoolId.PoolUsage. If the later isSharedPool, it means that a shared pool must be used for this particularHostConnectionPoolSetup.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePoolId.PoolUsagestatic classPoolId.SharedPool$static classPoolId.UniquePoolstatic classPoolId.UniquePool$
-
Constructor Summary
Constructors Constructor Description PoolId(HostConnectionPoolSetup hcps, PoolId.PoolUsage usage)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object that)inthashCode()HostConnectionPoolSetuphcps()static PoolId.UniquePoolnewUniquePool()java.lang.StringtoString()PoolId.PoolUsageusage()
-
-
-
Constructor Detail
-
PoolId
public PoolId(HostConnectionPoolSetup hcps, PoolId.PoolUsage usage)
-
-
Method Detail
-
newUniquePool
public static PoolId.UniquePool newUniquePool()
-
hcps
public HostConnectionPoolSetup hcps()
-
usage
public PoolId.PoolUsage usage()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-