public class FileSegment extends Object
Constructor and Description |
---|
FileSegment(FileChannel fileChannel,
long position,
int length,
boolean isBuffer) |
Modifier and Type | Method and Description |
---|---|
FileChannel |
getFileChannel() |
int |
getLength() |
long |
getPosition() |
boolean |
isBuffer() |
public FileSegment(FileChannel fileChannel, long position, int length, boolean isBuffer)
public FileChannel getFileChannel()
public long getPosition()
public int getLength()
public boolean isBuffer()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.