org.apache.hadoop.yarn.logaggregation
Class AggregatedLogFormat.ContainerLogsReader
java.lang.Object
org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.ContainerLogsReader
- Enclosing class:
- AggregatedLogFormat
public static class AggregatedLogFormat.ContainerLogsReader
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregatedLogFormat.ContainerLogsReader
public AggregatedLogFormat.ContainerLogsReader(DataInputStream stream)
nextLog
public String nextLog()
throws IOException
- Throws:
IOException
getCurrentLogType
public String getCurrentLogType()
getCurrentLogLength
public long getCurrentLogLength()
skip
public long skip(long n)
throws IOException
- Throws:
IOException
read
public int read(byte[] buf,
int off,
int len)
throws IOException
- Throws:
IOException
read
public int read(char[] buf,
int off,
int len)
throws IOException
- Throws:
IOException
Copyright © 2012 Apache Software Foundation. All Rights Reserved.