public class BufferedSocketInputStream extends FilterInputStream
Line 50 and Line 70 ~ 72: Returns -1 means reach the end of InputStream. We should remove this class after we bumped a higher mysql-binlog-connector-java version where the https://github.com/osheroff/mysql-binlog-connector-java/issues/66 has been fixed.
in| Constructor and Description |
|---|
BufferedSocketInputStream(InputStream in) |
BufferedSocketInputStream(InputStream in,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
close, mark, markSupported, read, reset, skippublic BufferedSocketInputStream(InputStream in)
public BufferedSocketInputStream(InputStream in, int bufferSize)
public int available()
throws IOException
available in class FilterInputStreamIOExceptionpublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.