类 AsyncBufferedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- com.moilioncircle.redis.replicator.io.AsyncBufferedInputStream
-
- 所有已实现的接口:
Closeable,AutoCloseable,Runnable
public final class AsyncBufferedInputStream extends InputStream implements Runnable
- 从以下版本开始:
- 2.1.0
- 作者:
- Jingqi Xu, andyqzb
-
-
构造器概要
构造器 构造器 说明 AsyncBufferedInputStream(InputStream is)AsyncBufferedInputStream(InputStream is, int size)AsyncBufferedInputStream(InputStream is, int size, ThreadFactory tf)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intavailable()voidclose()intread()intread(byte[] b, int off, int len)voidrun()intwrite(byte[] b, int off, int len)-
从类继承的方法 java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
构造器详细资料
-
AsyncBufferedInputStream
public AsyncBufferedInputStream(InputStream is)
-
AsyncBufferedInputStream
public AsyncBufferedInputStream(InputStream is, int size)
-
AsyncBufferedInputStream
public AsyncBufferedInputStream(InputStream is, int size, ThreadFactory tf)
-
-
方法详细资料
-
available
public int available() throws IOException- 覆盖:
available在类中InputStream- 抛出:
IOException
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 覆盖:
close在类中InputStream- 抛出:
IOException
-
read
public int read() throws IOException- 指定者:
read在类中InputStream- 抛出:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- 覆盖:
read在类中InputStream- 抛出:
IOException
-
write
public int write(byte[] b, int off, int len) throws IOException- 抛出:
IOException
-
-