Package com.tccc.kos.core.service.fuse
Class FuseService
java.lang.Object
com.tccc.kos.commons.util.ready.ReadyBean
com.tccc.kos.commons.core.service.AbstractService
com.tccc.kos.core.service.fuse.FuseService
- All Implemented Interfaces:
CtxEventListener
,BinaryMsgIfaceFactory
,ContextHandleAware
,HandleAware
,Ready
,ReadyListener
Service that mounts KAB files into the local filesystem via fuseMounter native
program. This only operates on the local node as we don't know what KABs are
available on other nodes and we explicitly start the mounter on this node.
- Version:
- 2022-03-18
-
Method Summary
Modifier and TypeMethodDescriptiongetIface
(String name, BinaryMsgSession session) Given the name of an interface from a BinaryMsgSession, return an instance of BinaryMsgIface or null.Mount a kab file to a directory that is the identifier of the kab.Mount a kab file at the specified mount directory.Mount a kab file to a directory that is the identifier of the kab.Mount a kab file at the specified mount directory.Mount a kab file to a directory that is the identifier of the kab.Mount a kab file at the specified mount directory.void
Unmount a previously created mount.void
unmountAll
(NodeId nodeId) Unmount all mounts on the specified node.Methods inherited from class com.tccc.kos.commons.core.service.AbstractService
getHandle, getHandlePrefix
Methods inherited from class com.tccc.kos.commons.util.ready.ReadyBean
getReady, onBeanReady, onDependenciesReady
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tccc.kos.commons.core.context.CtxEventListener
onCtxAutowiringCompleted, onCtxDestroyed, onCtxPhaseCompleted
Methods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPath
Methods inherited from interface com.tccc.kos.commons.util.ready.ReadyListener
onDependenciesGroupReady
-
Method Details
-
mount
Mount a kab file to a directory that is the identifier of the kab. This can only be used on the local node where the kab is accessible.- Parameters:
kab
- the kab file to mount
-
mount
Mount a kab file at the specified mount directory. This can only be used on the local node where the kab is accessible.- Parameters:
kab
- the kab file to mountname
- the mount directory name
-
mount
Mount a kab file to a directory that is the identifier of the kab. This can only be used on the local node where the kab is accessible.- Parameters:
kabIdentifier
- the kab identifier to mount
-
mount
Mount a kab file at the specified mount directory. This can only be used on the local node where the kab is accessible.- Parameters:
kabIdentifier
- the kab identifier to mountname
- the mount directory name
-
mount
Mount a kab file to a directory that is the identifier of the kab.- Parameters:
nodeId
- the node to perform the mount onkabIdentifier
- the identifier of the kab file to mount
-
mount
Mount a kab file at the specified mount directory.- Parameters:
nodeId
- the node to perform the mount onkabIdentifier
- the identifier of the kab file to mountname
- the mount directory name
-
unmount
Unmount a previously created mount.- Parameters:
mount
- the mount to unmount
-
unmountAll
Unmount all mounts on the specified node. -
getIface
Description copied from interface:BinaryMsgIfaceFactory
Given the name of an interface from a BinaryMsgSession, return an instance of BinaryMsgIface or null.- Specified by:
getIface
in interfaceBinaryMsgIfaceFactory
- Parameters:
name
- the name of the interfacesession
- the session to back the interface- Returns:
- the iface or null
-