public void log ( ) { if ( logger != null ) { if ( registry != null ) { if ( isClient ( ) ) { recordClientMetrics ( ) ; } else { recordServerMetrics ( ) ; } } if ( inflightId != null ) { logger . inflightRequests ( inflightId ) . decrementAndGet ( ) ; } logger . log ( this ) ; } else { reset ( ) ; } }
Log the request . This entry will potentially be reused after this is called . The user should not attempt any further modifications to the state of this entry .