get the arrival time of the incoming request in nanoseconds . note that this is not unix epoch as the time is provided by system #nanotime . to get unix epoch time , do something like : long processingtimenanos = system.nanotime - requestcontext.arrivaltimenanos ; long arrivaltimeunixepochmillis = system.currenttimemillis + timeunit.nanoseconds.tomillis processingtimenanos ; concode_field_sep ServerInfo UNKNOWN_SERVER_INFO concode_elem_sep InetSocketAddress PORT_ZERO concode_field_sep void drop concode_elem_sep Request request concode_elem_sep RequestMetadata metadata concode_elem_sep ServerInfo serverInfo concode_elem_sep void reply concode_elem_sep boolean isExpired
long function ( ) { return System . nanoTime ( ) ; }