| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final long | |
| private final C |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: the connection capacity, i.e how much the connection accounts when it is managed by a pool
|
| public long | Returns: the connection concurrency, i.e how many times a connection can be borrowed from a pool
|
| public C | |
| public long | Returns: the connection weight, i.e how much the connection accounts when it is managed by a pool
|
| capacity | back to summary |
|---|---|
| private final long capacity | |
| concurrency | back to summary |
|---|---|
| private final long concurrency | |
| conn | back to summary |
|---|---|
| private final C conn | |
| ConnectResult | back to summary |
|---|---|
| public ConnectResult(C connection, long concurrency, long capacity) | |
| capacity | back to summary |
|---|---|
public long capacity()
| |
| concurrency | back to summary |
|---|---|
public long concurrency()
| |
| connection | back to summary |
|---|---|
public C connection()
| |
| weight | back to summary |
|---|---|
public long weight()
| |