Modifier and Type | Field and Description |
---|---|
public static final int | |
public static final int | |
public static final int | |
public static final int |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv abstract long | |
pack-priv abstract boolean | |
pack-priv abstract boolean | |
pack-priv abstract FileDescriptor | duplicateForMapping(FileDescriptor fd)
Returns a dup of fd if a file descriptor is required for memory-mapping operations, otherwise returns an invalid FileDescriptor (meaning a newly allocated FileDescriptor) |
pack-priv abstract int | |
pack-priv abstract int | |
pack-priv abstract long | |
pack-priv abstract int | |
pack-priv abstract void | |
pack-priv abstract long | seek(FileDescriptor fd, long offset)
Sets or reports this file's position If offset is -1, the current position is returned otherwise the position is set to offset. |
pack-priv abstract int | |
pack-priv abstract long | |
pack-priv abstract long | |
pack-priv abstract long | |
pack-priv abstract boolean | |
pack-priv abstract int | |
pack-priv abstract int |
INTERRUPTED | back to summary |
---|---|
public static final int INTERRUPTED |
LOCKED | back to summary |
---|---|
public static final int LOCKED |
NO_LOCK | back to summary |
---|---|
public static final int NO_LOCK |
RET_EX_LOCK | back to summary |
---|---|
public static final int RET_EX_LOCK |
FileDispatcher | back to summary |
---|---|
pack-priv FileDispatcher() |
allocationGranularity | back to summary |
---|---|
pack-priv abstract long allocationGranularity() |
canTransferToDirectly | back to summary |
---|---|
pack-priv abstract boolean canTransferToDirectly(SelectableChannel sc) |
canTransferToFromOverlappedMap | back to summary |
---|---|
pack-priv abstract boolean canTransferToFromOverlappedMap() |
duplicateForMapping | back to summary |
---|---|
pack-priv abstract FileDescriptor duplicateForMapping(FileDescriptor fd) throws IOException Returns a dup of fd if a file descriptor is required for memory-mapping operations, otherwise returns an invalid FileDescriptor (meaning a newly allocated FileDescriptor) |
force | back to summary |
---|---|
pack-priv abstract int force(FileDescriptor fd, boolean metaData) throws IOException |
lock | back to summary |
---|---|
pack-priv abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) throws IOException |
map | back to summary |
---|---|
pack-priv abstract long map(FileDescriptor fd, int prot, long position, long length, boolean isSync) throws IOException |
maxDirectTransferSize | back to summary |
---|---|
pack-priv abstract int maxDirectTransferSize() |
release | back to summary |
---|---|
pack-priv abstract void release(FileDescriptor fd, long pos, long size) throws IOException |
seek | back to summary |
---|---|
pack-priv abstract long seek(FileDescriptor fd, long offset) throws IOException Sets or reports this file's position If offset is -1, the current position is returned otherwise the position is set to offset. |
setDirectIO | back to summary |
---|---|
pack-priv abstract int setDirectIO(FileDescriptor fd, String path) |
size | back to summary |
---|---|
pack-priv abstract long size(FileDescriptor fd) throws IOException |
transferFrom | back to summary |
---|---|
pack-priv abstract long transferFrom(FileDescriptor src, FileDescriptor dst, long position, long count, boolean append) |
transferTo | back to summary |
---|---|
pack-priv abstract long transferTo(FileDescriptor src, long position, long count, FileDescriptor dst, boolean append) |
transferToDirectlyNeedsPositionLock | back to summary |
---|---|
pack-priv abstract boolean transferToDirectlyNeedsPositionLock() |
truncate | back to summary |
---|---|
pack-priv abstract int truncate(FileDescriptor fd, long size) throws IOException |
unmap | back to summary |
---|---|
pack-priv abstract int unmap(long address, long length) |