question: returns the round trip time for this ping in nanoseconds , or -1 if the response was cancelled , or -2 if the timeout elapsed before the round trip completed . concode_field_sep long sent concode_elem_sep CountDownLatch latch concode_elem_sep long received concode_field_sep void cancel concode_elem_sep void receive concode_elem_sep void send
target: long function ( long arg0 , TimeUnit arg1 ) { if ( latch . await ( arg0 , arg1 ) ) { return received - sent ; } else { return - 2 ; } }