@Beta public final class ConnectionPoolWaitQueueEnteredEvent extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private ServerId |
serverId |
private long |
threadId |
| Constructor and Description |
|---|
ConnectionPoolWaitQueueEnteredEvent(ServerId serverId,
long threadId)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
ServerId |
getServerId()
Gets the server id.
|
long |
getThreadId()
Gets the thread id
|
java.lang.String |
toString() |
private final ServerId serverId
private final long threadId
public ConnectionPoolWaitQueueEnteredEvent(ServerId serverId, long threadId)
serverId - the server idthreadId - the id of the thread that's waitingpublic ServerId getServerId()
public long getThreadId()
public java.lang.String toString()
toString in class java.lang.Object