Class LeakyBucketStreamThrottler.Drain

java.lang.Object
org.apache.nifi.stream.io.LeakyBucketStreamThrottler.Drain
All Implemented Interfaces:
Runnable
Enclosing class:
LeakyBucketStreamThrottler

private class LeakyBucketStreamThrottler.Drain extends Object implements Runnable
This class is responsible for draining water from the leaky bucket. I.e., it actually moves the data
  • Field Details

    • buffer

      private final byte[] buffer
  • Constructor Details

    • Drain

      public Drain()
  • Method Details