Class ManagedWriter<T>
java.lang.Object
org.ojalgo.netio.ManagedWriter<T>
- All Implemented Interfaces:
Closeable, AutoCloseable, ToFileWriter<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface ToFileWriter
ToFileWriter.Builder<F> -
Field Summary
FieldsFields inherited from interface ToFileWriter
NULL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ToFileWriter
writeBatch
-
Field Details
-
myManager
-
myWriter
-
-
Constructor Details
-
ManagedWriter
ManagedWriter(Throughput manager, ToFileWriter<T> writer)
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceToFileWriter<T>- Throws:
IOException
-
write
Description copied from interface:ToFileWriterWrite the item to the consumer.- Specified by:
writein interfaceToFileWriter<T>- Parameters:
item- The item to be written
-