@ThreadSafe public static class FuseFileStream.Factory extends Object
FuseFileInStream
.Constructor and Description |
---|
Factory(FileSystem fileSystem,
AuthPolicy authPolicy)
Creates an instance of
FuseFileStream.Factory for
creating fuse streams. |
Modifier and Type | Method and Description |
---|---|
FuseFileStream |
create(AlluxioURI uri,
int flags,
long mode)
Factory method for creating/opening a file
and creating an implementation of
FuseFileStream . |
public Factory(FileSystem fileSystem, AuthPolicy authPolicy)
FuseFileStream.Factory
for
creating fuse streams.fileSystem
- the file systemauthPolicy
- the authentication policypublic FuseFileStream create(AlluxioURI uri, int flags, long mode)
FuseFileStream
.uri
- the Alluxio URIflags
- the create/open flagsmode
- the create file mode, -1 if not setCopyright © 2023. All Rights Reserved.