Package com.tangosol.util
Class ExternalizableHelper.ShieldedDataOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.tangosol.io.WrapperDataOutputStream
-
- com.tangosol.util.ExternalizableHelper.ShieldedDataOutputStream
-
- All Implemented Interfaces:
com.oracle.coherence.common.io.OutputStreaming
,OutputStreaming
,ExternalizableHelper.Shielded
,Closeable
,DataOutput
,Flushable
,AutoCloseable
- Enclosing class:
- ExternalizableHelper
public static class ExternalizableHelper.ShieldedDataOutputStream extends WrapperDataOutputStream implements ExternalizableHelper.Shielded
An OutputStream that implements DataOutput that delegates all operations other than flush and close to an underlying object that implements DataOutput.
-
-
Constructor Summary
Constructors Constructor Description ShieldedDataOutputStream(DataOutput out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes this OutputStream and releases any associated system resources.void
flush()
Flushes this OutputStream and forces any buffered output bytes to be written.-
Methods inherited from class com.tangosol.io.WrapperDataOutputStream
getBytesWritten, getDataOutput, incBytesWritten, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
ShieldedDataOutputStream
public ShieldedDataOutputStream(DataOutput out)
-
-
Method Detail
-
flush
public final void flush()
Description copied from class:WrapperDataOutputStream
Flushes this OutputStream and forces any buffered output bytes to be written.- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in interfacecom.oracle.coherence.common.io.OutputStreaming
- Overrides:
flush
in classWrapperDataOutputStream
-
close
public final void close()
Description copied from class:WrapperDataOutputStream
Closes this OutputStream and releases any associated system resources.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfacecom.oracle.coherence.common.io.OutputStreaming
- Overrides:
close
in classWrapperDataOutputStream
-
-