public class HandshakeFailEvent extends ConnectionEvent
| Constructor and Description |
|---|
HandshakeFailEvent(ConnectionDescription conn,
long elapsedTimeNanos,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
long |
elapsedTime(TimeUnit timeUnit)
Get the elapsed time of the handshake.
|
Throwable |
throwable()
Get a cause of the failure.
|
connectionDescriptionpublic HandshakeFailEvent(ConnectionDescription conn, long elapsedTimeNanos, Throwable throwable)
conn - Connection description.elapsedTimeNanos - Elapsed time in nanoseconds.throwable - Throwable that caused the failure.public long elapsedTime(TimeUnit timeUnit)
timeUnit - Desired time unit in which to return the elapsed time.public Throwable throwable()
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025