public void process ( Trace trace , Node node , Direction direction , Map < String , ? > headers , Object ... values ) { if ( log . isLoggable ( Level . FINEST ) ) { log . finest ( "ProcessManager: process trace=" + trace + " node=" + node + " direction=" + direction + " headers=" + headers + " values=" + values + " : available processors=" + processors ) ; } if ( trace . getTransaction ( ) != null ) { List < ProcessorWrapper > procs = null ; synchronized ( processors ) { procs = processors . get ( trace . getTransaction ( ) ) ; } if ( log . isLoggable ( Level . FINEST ) ) { log . finest ( "ProcessManager: trace name=" + trace . getTransaction ( ) + " processors=" + procs ) ; } if ( procs != null ) { for ( int i = 0 ; i < procs . size ( ) ; i ++ ) { procs . get ( i ) . process ( trace , node , direction , headers , values ) ; } } } }
This method processes the supplied information against the configured processor details for the trace .