@ThreadSafe public class SimpleFuseStreamFactory extends Object implements FuseStreamFactory
FuseFileInStream
.Constructor and Description |
---|
SimpleFuseStreamFactory(FileSystem fileSystem,
AuthPolicy authPolicy)
Creates an instance of
FuseStreamFactory 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 SimpleFuseStreamFactory(FileSystem fileSystem, AuthPolicy authPolicy)
FuseStreamFactory
for
creating fuse streams.fileSystem
- the file systemauthPolicy
- the authentication policypublic FuseFileStream create(AlluxioURI uri, int flags, long mode)
FuseFileStream
.create
in interface FuseStreamFactory
uri
- the Alluxio URIflags
- the create/open flagsmode
- the create file mode, -1 if not setCopyright © 2023. All Rights Reserved.