@InterfaceAudience.Private public static class AggregatedLogFormat.ContainerLogsReader extends InputStream
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) |
available, close, mark, markSupported, read, reset
public ContainerLogsReader(DataInputStream stream)
public String nextLog() throws IOException
IOException
public String getCurrentLogType()
public long getCurrentLogLength()
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buf, int off, int len) throws IOException
read
in class InputStream
IOException
public int read(char[] buf, int off, int len) throws IOException
IOException
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.