|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.jobhistory.EventReader
@InterfaceAudience.Private @InterfaceStability.Unstable public class EventReader
Constructor Summary | |
---|---|
EventReader(DataInputStream in)
Create a new Event Reader |
|
EventReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path name)
Create a new Event Reader |
Method Summary | |
---|---|
void |
close()
Close the Event reader |
HistoryEvent |
getNextEvent()
Get the next event from the stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventReader(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path name) throws IOException
fs
- name
-
IOException
public EventReader(DataInputStream in) throws IOException
in
-
IOException
Method Detail |
---|
public HistoryEvent getNextEvent() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |