Class HandshakeSuccessEvent

    • Constructor Detail

      • HandshakeSuccessEvent

        public HandshakeSuccessEvent​(ConnectionDescription conn,
                                     long elapsedTimeNanos)
        Parameters:
        conn - Connection description.
        elapsedTimeNanos - Elapsed time in nanoseconds.
    • Method Detail

      • elapsedTime

        public 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.