Package com.tangosol.util
Class ExternalizableHelper.ShieldedOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.tangosol.io.WrapperOutputStream
-
- com.tangosol.util.ExternalizableHelper.ShieldedOutputStream
-
- All Implemented Interfaces:
com.oracle.coherence.common.io.OutputStreaming,OutputStreaming,ExternalizableHelper.Shielded,Closeable,Flushable,AutoCloseable
- Enclosing class:
- ExternalizableHelper
public static class ExternalizableHelper.ShieldedOutputStream extends WrapperOutputStream implements ExternalizableHelper.Shielded
An OutputStream that delegates all operations other than flush and close to an underlying OutputStream.
-
-
Field Summary
-
Fields inherited from class com.tangosol.io.WrapperOutputStream
m_out
-
-
Constructor Summary
Constructors Constructor Description ShieldedOutputStream(OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes this OutputStream and releases any associated system resources.voidflush()Flushes this OutputStream and forces any buffered output bytes to be written.-
Methods inherited from class com.tangosol.io.WrapperOutputStream
ensureOutputStream, getOutputStream, setOutputStream, write, write, write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
ShieldedOutputStream
public ShieldedOutputStream(OutputStream out)
-
-
Method Detail
-
flush
public final void flush()
Description copied from class:WrapperOutputStreamFlushes this OutputStream and forces any buffered output bytes to be written.- Specified by:
flushin interfaceFlushable- Specified by:
flushin interfacecom.oracle.coherence.common.io.OutputStreaming- Overrides:
flushin classWrapperOutputStream
-
close
public final void close()
Description copied from class:WrapperOutputStreamCloses this OutputStream and releases any associated system resources.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfacecom.oracle.coherence.common.io.OutputStreaming- Overrides:
closein classWrapperOutputStream
-
-