public static < T1 , T2 , T3 > TriConsumer < T1 , T2 , T3 > monitor ( TriConsumer < T1 , T2 , T3 > consumer , AtomicLong calls ) { return new TernaryMonitoringConsumer < T1 , T2 , T3 > ( consumer , calls ) ; }
Monitors calls to a ternary consumer .