public class SessionPoolStats extends Object
| Constructor and Description |
|---|
SessionPoolStats(int minSize,
int maxSize,
int idleCount,
int disconnectedCount,
int acquiredCount,
int pendingAcquireCount) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAcquiredCount()
Number of sessions currently acquired from pool and not yet released.
|
int |
getDisconnectedCount()
Number of sessions with unknown status due to some transport errors.
|
int |
getIdleCount()
Number of sessions that were released after use and waiting to be acquired again
or to be removed from pool by idle timeout.
|
int |
getMaxSize()
Max number of sessions in pool.
|
int |
getMinSize()
Min number of sessions that should remain in session pool after idle session cleanup.
|
int |
getPendingAcquireCount()
Number of sessions pending acquire due to pool overflow.
|
String |
toString() |
public SessionPoolStats(int minSize,
int maxSize,
int idleCount,
int disconnectedCount,
int acquiredCount,
int pendingAcquireCount)
public int getMinSize()
public int getMaxSize()
public int getIdleCount()
public int getDisconnectedCount()
public int getAcquiredCount()
public int getPendingAcquireCount()
Copyright © 2021. All rights reserved.