Class ProgressCounterOutputStream
java.lang.Object
java.io.OutputStream
fr.ens.biologie.genomique.eoulsan.io.ProgressCounterOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
This class implements an OutputStream that inform Hadoop of the progress of task using counters.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Constructor Summary
ConstructorsConstructorDescriptionProgressCounterOutputStream(OutputStream os, org.apache.hadoop.mapreduce.Counter counter) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
ProgressCounterOutputStream
-
-
Method Details
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-