Package com.northconcepts.datapipeline.throttle


package com.northconcepts.datapipeline.throttle
Limits the rate (bytes/second or records/second) at which data is read or written.
  • Class
    Description
    Limits the average rate measured by a Meter by making the calling thread sleep while the count is ahead of the allowed rate.
    Implemented by streams, readers and writers whose rate is limited by a Throttle.
    A MeteredInputStream that pauses after reads when needed to keep its average rate at or below a set number of bytes per second.
    A MeteredOutputStream that pauses before writes when needed to keep its average rate at or below a set number of bytes per second.
    A proxy that limits the rate (bytes/second) at which data is read.
    A proxy that limits the rate (bytes/second) at which data is written.