Action0 function ( ) { return new Action0 ( ) { @ Override public void call ( ) { if ( endTime == null ) { endTime = new Date ( ) . getTime ( ) ; PerformanceLogger . log ( PerformanceMetrics . this ) ; } } } ; }
when called , end action sets time stamp to identify end time of operation and logs the metrics . concode_field_sep PerformanceMetrics previous concode_elem_sep Integer level concode_elem_sep AtomicInteger KEY_GEN concode_elem_sep String descriptor concode_elem_sep Long takenTimeByStepStart concode_elem_sep Long operationTime concode_elem_sep Class actionClass concode_elem_sep String action concode_elem_sep String correlationId concode_elem_sep Long startTime concode_elem_sep Long endTime concode_elem_sep Long totalTakenTimeByStep concode_elem_sep Integer key concode_elem_sep Long takenTimeByStepOperation concode_field_sep PerformanceMetrics getPrevious concode_elem_sep String getDescriptor concode_elem_sep String getCorrelationId concode_elem_sep Class getActionClass concode_elem_sep Integer getKey concode_elem_sep Long getOperationTime concode_elem_sep void setOperationTimestamp concode_elem_sep Long getTakenTimeByStep concode_elem_sep String getAction concode_elem_sep Action1<T> getOnNextAction concode_elem_sep PerformanceMetrics createNew concode_elem_sep void setStartTimestamp concode_elem_sep Integer getLevel concode_elem_sep Long getEndTime concode_elem_sep Long getTakenTimeByStepStart concode_elem_sep int size concode_elem_sep PerformanceMetrics createNext concode_elem_sep PerformanceMetrics createNext concode_elem_sep Action0 getStartAction concode_elem_sep boolean isCharged concode_elem_sep String toString concode_elem_sep boolean isPreviousCharged concode_elem_sep Long getStartTime concode_elem_sep Long getTakenTimeByStepOperation concode_elem_sep void setEndTimestamp