Package | Description |
---|---|
org.apache.commons.io.output |
This package provides implementations of output classes, such as
OutputStream and Writer . |
Modifier and Type | Class and 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 and 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.
|
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.