@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, resetpublic ContainerLogsReader(DataInputStream stream)
public String nextLog() throws IOException
IOExceptionpublic String getCurrentLogType()
public long getCurrentLogLength()
public long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read(char[] buf,
int off,
int len)
throws IOException
IOExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.