@ThreadSafe public final class AlluxioJniFuseFileSystem extends AbstractFuseFileSystem
Implements the FUSE callbacks defined by jni-fuse.
Modifier and Type | Field and Description |
---|---|
static long |
ID_NOT_SET_VALUE |
static long |
ID_NOT_SET_VALUE_UNSIGNED |
static int |
MAX_NAME_LENGTH
Most FileSystems on linux limit the length of file name beyond 255 characters.
|
static int |
UNKNOWN_INODES
df command will treat -1 as an unknown value.
|
Constructor and Description |
---|
AlluxioJniFuseFileSystem(FileSystem fs,
AlluxioFuseOptions opts,
AlluxioConfiguration conf)
Creates a new instance of
AlluxioJniFuseFileSystem . |
Modifier and Type | Method and Description |
---|---|
int |
chmod(String path,
long mode) |
int |
chown(String path,
long uid,
long gid) |
int |
create(String path,
long mode,
FuseFileInfo fi) |
int |
flush(String path,
FuseFileInfo fi) |
int |
getattr(String path,
FileStat stat) |
String |
getFileSystemName() |
int |
mkdir(String path,
long mode) |
int |
open(String path,
FuseFileInfo fi) |
int |
read(String path,
ByteBuffer buf,
long size,
long offset,
FuseFileInfo fi) |
int |
readdir(String path,
long buff,
FuseFillDir filter,
long offset,
FuseFileInfo fi) |
int |
release(String path,
FuseFileInfo fi) |
int |
rename(String oldPath,
String newPath) |
int |
rmdir(String path) |
int |
truncate(String path,
long size) |
int |
unlink(String path) |
int |
write(String path,
ByteBuffer buf,
long size,
long offset,
FuseFileInfo fi) |
chmodCallback, chownCallback, createCallback, flushCallback, getattrCallback, getLibFuse, mkdirCallback, mount, openCallback, readCallback, readdirCallback, releaseCallback, renameCallback, rmdirCallback, statfsCallback, truncateCallback, umount, unlinkCallback, writeCallback
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, link, opendir, releasedir, statfs, symlink
public static final long ID_NOT_SET_VALUE
public static final long ID_NOT_SET_VALUE_UNSIGNED
public static final int UNKNOWN_INODES
public static final int MAX_NAME_LENGTH
public AlluxioJniFuseFileSystem(FileSystem fs, AlluxioFuseOptions opts, AlluxioConfiguration conf)
AlluxioJniFuseFileSystem
.fs
- Alluxio file systemopts
- optionsconf
- Alluxio configurationpublic int create(String path, long mode, FuseFileInfo fi)
public int readdir(String path, long buff, FuseFillDir filter, long offset, FuseFileInfo fi)
public int open(String path, FuseFileInfo fi)
public int read(String path, ByteBuffer buf, long size, long offset, FuseFileInfo fi)
public int write(String path, ByteBuffer buf, long size, long offset, FuseFileInfo fi)
public int flush(String path, FuseFileInfo fi)
public int release(String path, FuseFileInfo fi)
public int mkdir(String path, long mode)
public int unlink(String path)
public int rmdir(String path)
public int chmod(String path, long mode)
public int chown(String path, long uid, long gid)
public int truncate(String path, long size)
public String getFileSystemName()
Copyright © 2023. All Rights Reserved.