A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/PipedInputStream.html below:

PipedInputStream (Java SE 17 & JDK 17)

All Implemented Interfaces:
Closeable, AutoCloseable

A piped input stream should be connected to a piped output stream; the piped input stream then provides whatever data bytes are written to the piped output stream. Typically, data is read from a

PipedInputStream

object by one thread and data is written to the corresponding

PipedOutputStream

by some other thread. Attempting to use both objects from a single thread is not recommended, as it may deadlock the thread. The piped input stream contains a buffer, decoupling read operations from write operations, within limits. A pipe is said to be

broken

if a thread that was providing data bytes to the connected piped output stream is no longer alive.

Since:
1.0
See Also:

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4