程序包 bsh.util
类 JConsole.BlockingPipedInputStream
java.lang.Object
java.io.InputStream
java.io.PipedInputStream
bsh.util.JConsole.BlockingPipedInputStream
- 所有已实现的接口:
Closeable
,AutoCloseable
- 封闭类:
- JConsole
The overridden read method in this class will not throw "Broken pipe"
IOExceptions; It will simply wait for new writers and data.
This is used by the JConsole internal read thread to allow writers
in different (and in particular ephemeral) threads to write to the pipe.
It also checks a little more frequently than the original read().
Warning: read() will not even error on a read to an explicitly closed
pipe (override closed to for that).
-
字段概要
从类继承的字段 java.io.PipedInputStream
buffer, in, out, PIPE_SIZE
-
构造器概要
构造器 -
方法概要
从类继承的方法 java.io.PipedInputStream
available, connect, read, receive
从类继承的方法 java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
构造器详细资料
-
BlockingPipedInputStream
- 抛出:
IOException
-
-
方法详细资料
-
read
- 覆盖:
read
在类中PipedInputStream
- 抛出:
IOException
-
close
- 指定者:
close
在接口中AutoCloseable
- 指定者:
close
在接口中Closeable
- 覆盖:
close
在类中PipedInputStream
- 抛出:
IOException
-