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.
  • Constructor Details

    • ShieldedOutputStream

      public ShieldedOutputStream(OutputStream out)
  • Method Details

    • flush

      public final void flush()
      Description copied from class: WrapperOutputStream
      Flushes this OutputStream and forces any buffered output bytes to be written.
      Specified by:
      flush in interface Flushable
      Specified by:
      flush in interface com.oracle.coherence.common.io.OutputStreaming
      Overrides:
      flush in class WrapperOutputStream
    • close

      public final void close()
      Description copied from class: WrapperOutputStream
      Closes this OutputStream and releases any associated system resources.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface com.oracle.coherence.common.io.OutputStreaming
      Overrides:
      close in class WrapperOutputStream