public final class NativePosixUtil extends Object
NativeUnixDirectory
Modifier and Type | Field and Description |
---|---|
static int |
DONTNEED |
static int |
NOREUSE |
static int |
NORMAL |
static int |
RANDOM |
static int |
SEQUENTIAL |
static int |
WILLNEED |
Constructor and Description |
---|
NativePosixUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
advise(FileDescriptor fd,
long offset,
long len,
int advise) |
static int |
madvise(ByteBuffer buf,
int advise) |
static FileDescriptor |
open_direct(String filename,
boolean read) |
static int |
posix_madvise(ByteBuffer buf,
int advise) |
static long |
pread(FileDescriptor fd,
long pos,
ByteBuffer byteBuf) |
public static final int NORMAL
public static final int SEQUENTIAL
public static final int RANDOM
public static final int WILLNEED
public static final int DONTNEED
public static final int NOREUSE
public static int posix_madvise(ByteBuffer buf, int advise) throws IOException
IOException
public static int madvise(ByteBuffer buf, int advise) throws IOException
IOException
public static FileDescriptor open_direct(String filename, boolean read) throws IOException
IOException
public static long pread(FileDescriptor fd, long pos, ByteBuffer byteBuf) throws IOException
IOException
public static void advise(FileDescriptor fd, long offset, long len, int advise) throws IOException
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.