org.apache.hadoop.yarn.logaggregation
Class AggregatedLogFormat.ContainerLogsReader

java.lang.Object
  extended by org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.ContainerLogsReader
Enclosing class:
AggregatedLogFormat

public static class AggregatedLogFormat.ContainerLogsReader
extends Object


Constructor Summary
AggregatedLogFormat.ContainerLogsReader(DataInputStream stream)
           
 
Method Summary
 long getCurrentLogLength()
           
 String getCurrentLogType()
           
 String nextLog()
           
 int read(byte[] buf, int off, int len)
           
 int read(char[] buf, int off, int len)
           
 long skip(long n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatedLogFormat.ContainerLogsReader

public AggregatedLogFormat.ContainerLogsReader(DataInputStream stream)
Method Detail

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.