@InterfaceAudience.Private public static class AggregatedLogFormat.ContainerLogsReader extends Object
Constructor and Description |
---|
ContainerLogsReader(DataInputStream stream) |
Modifier and Type | Method and Description |
---|---|
long |
getCurrentLogLength() |
String |
getCurrentLogType() |
String |
nextLog() |
int |
read() |
int |
read(byte[] buf,
int off,
int len) |
int |
read(char[] buf,
int off,
int len) |
long |
skip(long n) |
public ContainerLogsReader(DataInputStream stream)
public String nextLog() throws IOException
IOException
public String getCurrentLogType()
public long getCurrentLogLength()
public long skip(long n) throws IOException
IOException
public int read() throws IOException
IOException
public int read(byte[] buf, int off, int len) throws IOException
IOException
public int read(char[] buf, int off, int len) throws IOException
IOException
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.