Uses of Class
org.apache.commons.io.output.ThresholdingOutputStream
Packages that use ThresholdingOutputStream
-
Uses of ThresholdingOutputStream in org.apache.commons.io.output
Subclasses of ThresholdingOutputStream in org.apache.commons.io.outputModifier and TypeClassDescriptionclassAn output stream which will retain data in memory until a specified threshold is reached, and only then commit it to disk.Fields in org.apache.commons.io.output with type parameters of type ThresholdingOutputStreamModifier and TypeFieldDescriptionprivate static final IOFunction<ThresholdingOutputStream, OutputStream> ThresholdingOutputStream.NOOP_OS_GETTERNoop output stream getter function.private final IOFunction<ThresholdingOutputStream, OutputStream> ThresholdingOutputStream.outputStreamGetterGets the output stream.private final IOConsumer<ThresholdingOutputStream> ThresholdingOutputStream.thresholdConsumerAccepts reaching the threshold.Constructor parameters in org.apache.commons.io.output with type arguments of type ThresholdingOutputStreamModifierConstructorDescriptionThresholdingOutputStream(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.