T - the concrete fuse file stream subclass@ThreadSafe
public final class FuseFileEntry<T extends FuseFileStream>
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
FuseFileEntry(long id,
java.lang.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() |
java.lang.String |
getPath() |
public FuseFileEntry(long id,
java.lang.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 java.lang.String getPath()
public T getFileStream()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionCopyright © 2023. All Rights Reserved.