public class BufferChunk extends DiskRangeList
DiskRangeList.CreateHelper, DiskRangeList.MutateHelper
next, prev
Constructor and Description |
---|
BufferChunk(ByteBuffer chunk,
long offset) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getChunk() |
ByteBuffer |
getData() |
boolean |
hasData() |
DiskRange |
sliceAndShift(long offset,
long end,
long shiftBy) |
String |
toString() |
getTotalLength, hasContiguousNext, insertAfter, insertPartAfter, insertPartBefore, listSize, listToArray, removeAfter, removeSelf, replaceSelfWith, split
public BufferChunk(ByteBuffer chunk, long offset)
public ByteBuffer getChunk()
public DiskRange sliceAndShift(long offset, long end, long shiftBy)
sliceAndShift
in class DiskRange
public ByteBuffer getData()
Copyright © 2016 The Apache Software Foundation. All rights reserved.