Class ProgressCounterInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
fr.ens.biologie.genomique.eoulsan.io.ProgressCounterInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
This class implements a FilterInputStream that inform Hadoop of the progress of task using
counters.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Constructor Summary
ConstructorsConstructorDescriptionProgressCounterInputStream(InputStream is, org.apache.hadoop.mapreduce.Counter counter) -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ProgressCounterInputStream
-
-
Method Details
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-