public final class OnHeapMemorySegmentWriteOutMedium extends Object implements SegmentWriteOutMedium
| Constructor and Description | 
|---|
OnHeapMemorySegmentWriteOutMedium()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
Closer | 
getCloser()
Returns a closer of this SegmentWriteOutMedium, which is closed in this SegmentWriteOutMedium's close() method. 
 | 
WriteOutBytes | 
makeWriteOutBytes()
Creates a new empty  
WriteOutBytes, attached to this SegmentWriteOutMedium. | 
public WriteOutBytes makeWriteOutBytes() throws IOException
SegmentWriteOutMediumWriteOutBytes, attached to this SegmentWriteOutMedium. When this SegmentWriteOutMedium is
 closed, the returned WriteOutBytes couldn't be used anymore.makeWriteOutBytes in interface SegmentWriteOutMediumIOExceptionpublic Closer getCloser()
SegmentWriteOutMediumgetCloser in interface SegmentWriteOutMediumpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2018. All rights reserved.