Package net.openhft.compiler
Class CloseableByteArrayOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- net.openhft.compiler.CloseableByteArrayOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class CloseableByteArrayOutputStream extends java.io.ByteArrayOutputStream
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.CompletableFuture<?>
closeFuture
-
Constructor Summary
Constructors Constructor Description CloseableByteArrayOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.concurrent.CompletableFuture<?>
closeFuture()
-