Package org.apache.ignite.client.events
Class HandshakeFailEvent
- java.lang.Object
- 
- org.apache.ignite.client.events.ConnectionEvent
- 
- org.apache.ignite.client.events.HandshakeFailEvent
 
 
- 
 public class HandshakeFailEvent extends ConnectionEvent 
- 
- 
Constructor SummaryConstructors Constructor Description HandshakeFailEvent(ConnectionDescription conn, long elapsedTimeNanos, Throwable throwable)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longelapsedTime(TimeUnit timeUnit)Get the elapsed time of the handshake.Throwablethrowable()Get a cause of the failure.- 
Methods inherited from class org.apache.ignite.client.events.ConnectionEventconnectionDescription
 
- 
 
- 
- 
- 
Constructor Detail- 
HandshakeFailEventpublic HandshakeFailEvent(ConnectionDescription conn, long elapsedTimeNanos, Throwable throwable) - Parameters:
- conn- Connection description.
- elapsedTimeNanos- Elapsed time in nanoseconds.
- throwable- Throwable that caused the failure.
 
 
- 
 - 
Method Detail- 
elapsedTimepublic long elapsedTime(TimeUnit timeUnit) Get the elapsed time of the handshake.- Parameters:
- timeUnit- Desired time unit in which to return the elapsed time.
- Returns:
- the elapsed time.
 
 - 
throwablepublic Throwable throwable() Get a cause of the failure.- Returns:
- a cause of the failure.
 
 
- 
 
-