Package lumis.portal.filesystem.impl
Class SingleCopyFileSystem
- java.lang.Object
-
- lumis.portal.filesystem.impl.SingleCopyFileSystem
-
- All Implemented Interfaces:
IFileSystem
public class SingleCopyFileSystem extends java.lang.Object implements IFileSystem
Filesystem implementation that makes the filesystem operations only once. It does not send any cluster commands to replicate the operations over the cluster because it assumes that the file system is shared among the cluster servers (NAS usage, for example).- Since:
- 8.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description SingleCopyFileSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFile
getFile(PortalFilePath portalFilePath)
Returns aportal file
to be manipulated for a givenportal file path
.
Implementations must not returnnull
.
Theportal file path
parameter will never benull
.
-
-
-
Method Detail
-
getFile
public IFile getFile(PortalFilePath portalFilePath)
Description copied from interface:IFileSystem
Returns aportal file
to be manipulated for a givenportal file path
.
Implementations must not returnnull
.
Theportal file path
parameter will never benull
.- Specified by:
getFile
in interfaceIFileSystem
- Parameters:
portalFilePath
- the portal file path.- Returns:
- a
portal file
instance.
-
-