# Uses of Class
org.apache.commons.io.output.ThresholdingOutputStream

Packages that use ThresholdingOutputStream
Package
Description
org.apache.commons.io.output
Provides implementations of output classes, such as `OutputStream` and `Writer`.

- ## Uses of ThresholdingOutputStream in org.apache.commons.io.output

  Subclasses of ThresholdingOutputStream in org.apache.commons.io.output
  Modifier and Type
  Class
  Description
  `class`
  `DeferredFileOutputStream`
  An output stream which will retain data in memory until a specified threshold is reached, and only then commit it to disk.
  Constructor parameters in org.apache.commons.io.output with type arguments of type ThresholdingOutputStream
  Modifier
  Constructor
  Description
  ``
  `ThresholdingOutputStream(int threshold, IOConsumer<ThresholdingOutputStream> thresholdConsumer, IOFunction<ThresholdingOutputStream,OutputStream> outputStreamGetter)`
  Constructs an instance of this class which will trigger an event at the specified threshold.
  ``
  `ThresholdingOutputStream(int threshold, IOConsumer<ThresholdingOutputStream> thresholdConsumer, IOFunction<ThresholdingOutputStream,OutputStream> outputStreamGetter)`
  Constructs an instance of this class which will trigger an event at the specified threshold.