public class LogReader extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
closed |
static int |
FRAME_SIZE_OFFSET |
static int |
HEADER_SIZE |
private static org.slf4j.Logger |
log |
private InputStream |
stream |
| Constructor and Description |
|---|
LogReader(InputStream stream) |
private static final org.slf4j.Logger log
private final InputStream stream
public static final int HEADER_SIZE
public static final int FRAME_SIZE_OFFSET
private volatile boolean closed
public LogReader(InputStream stream)
public LogMessage nextMessage() throws IOException
IOExceptionprotected void finalize()
throws Throwable
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014. All rights reserved.