class ConnectionPoolWaitQueueEvent extends ConnectionPoolEvent
| Modifier and Type | Field and Description |
|---|---|
private long |
threadId |
| Constructor and Description |
|---|
ConnectionPoolWaitQueueEvent(java.lang.String clusterId,
ServerAddress serverAddress,
long threadId)
Constructs a new instance of the event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long |
getThreadId()
Gets the identifier of the waiting thread.
|
int |
hashCode() |
getServerAddressgetClusterIdpublic ConnectionPoolWaitQueueEvent(java.lang.String clusterId,
ServerAddress serverAddress,
long threadId)
clusterId - the cluster idserverAddress - the server addressthreadId - the identifier of the waiting threadpublic long getThreadId()
public boolean equals(java.lang.Object o)
equals in class ConnectionPoolEventpublic int hashCode()
hashCode in class ConnectionPoolEvent