Package org.apache.flink.runtime.util
Class NonClosingInputStreamDecorator
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.flink.runtime.util.ForwardingInputStream
-
- org.apache.flink.runtime.util.NonClosingInputStreamDecorator
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
@Internal public class NonClosingInputStreamDecorator extends ForwardingInputStream
Decorator for input streams that ignores calls toInputStream.close()
.
-
-
Constructor Summary
Constructors Constructor Description NonClosingInputStreamDecorator(InputStream delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
Methods inherited from class org.apache.flink.runtime.util.ForwardingInputStream
available, mark, markSupported, read, read, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
NonClosingInputStreamDecorator
public NonClosingInputStreamDecorator(InputStream delegate)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classForwardingInputStream
- Throws:
IOException
-
-