void setPendingNanos(long pendingNanos) {
    this.pendingNanos = pendingNanos;
  }
A convenience method for test that allows the pending nanos for this executor to be set
explicitly.

@param pendingNanos the pending nanos to set.
samza-core/src/main/java/org/apache/samza/util/ThrottlingExecutor.java