Uses of Class
org.apache.commons.io.output.ThresholdingOutputStream
-
Uses of ThresholdingOutputStream in org.apache.commons.io.output
Modifier and TypeClassDescriptionclass
An output stream which will retain data in memory until a specified threshold is reached, and only then commit it to disk.ModifierConstructorDescriptionThresholdingOutputStream
(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.