예제 #1
0
 /**
  * Updates the output meter.
  *
  * <p>Stages that want to meter their output must call this each time an event is output.
  */
 protected void afterOnNext() {
   outMeter.mark(1);
 }
예제 #2
0
 /**
  * Updates the input meter.
  *
  * <p>Stages that want to meter their input must call this each time an event is input.
  */
 protected void beforeOnNext() {
   inMeter.mark(1);
 }