public final class PoolId
extends java.lang.Object
A PoolId
is represented by its HostConnectionPoolSetup
and its PoolId.PoolUsage
. If the later
is SharedPool
, it means that a shared pool must be used for this particular HostConnectionPoolSetup
.
Modifier and Type | Class and Description |
---|---|
static interface |
PoolId.PoolUsage |
static class |
PoolId.SharedPool$ |
static class |
PoolId.UniquePool |
static class |
PoolId.UniquePool$ |
Constructor and Description |
---|
PoolId(HostConnectionPoolSetup hcps,
PoolId.PoolUsage usage) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
int |
hashCode() |
HostConnectionPoolSetup |
hcps() |
static PoolId.UniquePool |
newUniquePool() |
java.lang.String |
toString() |
PoolId.PoolUsage |
usage() |
public PoolId(HostConnectionPoolSetup hcps, PoolId.PoolUsage usage)
public static PoolId.UniquePool newUniquePool()
public HostConnectionPoolSetup hcps()
public PoolId.PoolUsage usage()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object