Class IOStreamPair
java.lang.Object
org.apache.hadoop.hdfs.protocol.datatransfer.IOStreamPair
- All Implemented Interfaces:
Closeable,AutoCloseable
A little struct class to wrap an InputStream and an OutputStream.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
in
-
out
-
-
Constructor Details
-
IOStreamPair
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-