Package com.tccc.kos.core.service.fuse
Class FuseMount
java.lang.Object
com.tccc.kos.core.service.fuse.FuseMount
A mount object returned from FuseService when a mount is successful.
- Version:
- 2022-08-02
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a file relative to the mount directory of the kab on the target node.Return the kabFile if the mount is for a local kab.Return the kab file identifier associated with this mount.getName()
Return the name of the mount point.Get the nodeId the mount is on.Return the root directory of the mount.boolean
Return true if the kab is currently mounted.toString()
-
Constructor Details
-
FuseMount
public FuseMount()
-
-
Method Details
-
getNodeId
Get the nodeId the mount is on. -
getRootDir
Return the root directory of the mount. This will return null if the mounted flag is false. -
getName
Return the name of the mount point. This is the directory that was used to mount the kab file. -
getKabFile
Return the kabFile if the mount is for a local kab. -
getKabIdentifier
Return the kab file identifier associated with this mount. -
getFile
Return a file relative to the mount directory of the kab on the target node. This will return null if the mounted flag is false.- Parameters:
path
- the path relative to the root
-
isMounted
public boolean isMounted()Return true if the kab is currently mounted. This may be false if the mount is created before the node is up or the fuseMounter is running. This can also become false while the node is rebooting. -
toString
-