Package org.apache.ignite.client.events
Class HandshakeSuccessEvent
- java.lang.Object
- 
- org.apache.ignite.client.events.ConnectionEvent
- 
- org.apache.ignite.client.events.HandshakeSuccessEvent
 
 
- 
 public class HandshakeSuccessEvent extends ConnectionEvent 
- 
- 
Constructor SummaryConstructors Constructor Description HandshakeSuccessEvent(ConnectionDescription conn, long elapsedTimeNanos)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longelapsedTime(TimeUnit timeUnit)Get the elapsed time of the handshake.- 
Methods inherited from class org.apache.ignite.client.events.ConnectionEventconnectionDescription
 
- 
 
- 
- 
- 
Constructor Detail- 
HandshakeSuccessEventpublic HandshakeSuccessEvent(ConnectionDescription conn, long elapsedTimeNanos) - Parameters:
- conn- Connection description.
- elapsedTimeNanos- Elapsed time in nanoseconds.
 
 
- 
 - 
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.
 
 
- 
 
-