public class ReleasablePagedBytesReference extends PagedBytesReference implements Releasable
PagedBytesReference that requires releasing its content. This
class exists to make it explicit when a bytes reference needs to be released, and when not.BytesReference.Helperbytearray| Constructor and Description |
|---|
ReleasablePagedBytesReference(BigArrays bigarrays,
ByteArray bytearray,
int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
array, arrayOffset, copyBytesArray, copyBytesRef, equals, get, hasArray, hashCode, length, slice, streamInput, toBytes, toBytesArray, toBytesRef, toChannelBuffer, toUtf8, writeTo, writeTopublic void close()
close in interface AutoCloseableclose in interface ReleasableCopyright © 2009–2016. All rights reserved.