T
- the concrete fuse file stream subclass@ThreadSafe public final class FuseFileEntry<T extends FuseFileStream> extends Object implements Closeable
Constructor and Description |
---|
FuseFileEntry(long id,
String path,
T fileStream)
Constructs a new
FuseFileEntry for an Alluxio file. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the underlying open streams.
|
T |
getFileStream()
Gets the fuse file stream for this entry.
|
long |
getId() |
String |
getPath() |
public FuseFileEntry(long id, String path, T fileStream)
FuseFileEntry
for an Alluxio file.id
- the id of the filepath
- the path of the filefileStream
- the in/out stream of the filepublic long getId()
public String getPath()
public T getFileStream()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2023. All Rights Reserved.