Package com.tangosol.util
Class ExternalizableHelper.ShieldedObjectOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.tangosol.io.WrapperDataOutputStream
-
- com.tangosol.io.WrapperObjectOutputStream
-
- com.tangosol.util.ExternalizableHelper.ShieldedObjectOutputStream
-
- All Implemented Interfaces:
com.oracle.coherence.common.io.OutputStreaming,OutputStreaming,ExternalizableHelper.Shielded,Closeable,DataOutput,Flushable,ObjectOutput,AutoCloseable
- Enclosing class:
- ExternalizableHelper
public static class ExternalizableHelper.ShieldedObjectOutputStream extends WrapperObjectOutputStream implements ExternalizableHelper.Shielded
An OutputStream that implements ObjectOutput that delegates all operations other than flush and close to an underlying object that implements ObjectOutput.
-
-
Constructor Summary
Constructors Constructor Description ShieldedObjectOutputStream(ObjectOutput 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.WrapperObjectOutputStream
getBytesWritten, getObjectOutput, writeObject
-
Methods inherited from class com.tangosol.io.WrapperDataOutputStream
getDataOutput, incBytesWritten, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.io.DataOutput
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Methods inherited from interface java.io.ObjectOutput
write, write, write
-
-
-
-
Constructor Detail
-
ShieldedObjectOutputStream
public ShieldedObjectOutputStream(ObjectOutput out)
-
-
Method Detail
-
flush
public final void flush()
Description copied from class:WrapperDataOutputStreamFlushes this OutputStream and forces any buffered output bytes to be written.- Specified by:
flushin interfaceFlushable- Specified by:
flushin interfaceObjectOutput- Specified by:
flushin interfacecom.oracle.coherence.common.io.OutputStreaming- Overrides:
flushin classWrapperDataOutputStream
-
close
public final void close()
Description copied from class:WrapperDataOutputStreamCloses this OutputStream and releases any associated system resources.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceObjectOutput- Specified by:
closein interfacecom.oracle.coherence.common.io.OutputStreaming- Overrides:
closein classWrapperDataOutputStream
-
-