Package one.microstream.afs
Class AFileSystem.Abstract<H extends AIoHandler,D,F>
java.lang.Object
one.microstream.afs.AFileSystem.Abstract<H,D,F>
- All Implemented Interfaces:
ACreator
,AFileSystem
,AResolver<D,F>
,AResolving
,ARoot.Creator
,WriteController
- Direct Known Subclasses:
BlobStoreFileSystem.Default
,NioFileSystem.Default
,SqlFileSystem.Default
- Enclosing interface:
- AFileSystem
public abstract static class AFileSystem.Abstract<H extends AIoHandler,D,F> extends Object implements AFileSystem, AResolver<D,F>, ACreator
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.afs.AFileSystem
AFileSystem.Abstract<H extends AIoHandler,D,F>
Nested classes/interfaces inherited from interface one.microstream.afs.WriteController
WriteController.Disabled, WriteController.Enabled
-
Constructor Summary
Constructors Constructor Description Abstract()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.afs.ACreator
createDirectory, createFile, createFile
Methods inherited from interface one.microstream.afs.AFileSystem
assemblePath, assemblePath, buildPath, buildPath, convertToReading, convertToWriting, deriveFileIdentifier, deriveFileName, deriveFileType, ensureDirectoryPath, ensureFilePath, ensureFilePath, getFileName, getFileType, wrapForReading, wrapForWriting
Methods inherited from interface one.microstream.afs.AResolver
ensureDirectory, ensureFile, resolve, resolve, resolveDirectory, resolveDirectoryToPath, resolveFile, resolveFileToPath
Methods inherited from interface one.microstream.afs.AResolving
resolveDirectoryPath, resolveFilePath, resolveFilePath, resolveFilePath
-
Constructor Details
-
Abstract
public Abstract()
-
-
Method Details
-
validateIsWritable
public final void validateIsWritable()- Specified by:
validateIsWritable
in interfaceWriteController
-
isWritable
public final boolean isWritable()- Specified by:
isWritable
in interfaceWriteController
-
fileSystem
- Specified by:
fileSystem
in interfaceAResolver<H extends AIoHandler,D>
-
defaultProtocol
- Specified by:
defaultProtocol
in interfaceAFileSystem
-
creator
- Specified by:
creator
in interfaceAFileSystem
-
accessManager
- Specified by:
accessManager
in interfaceAFileSystem
-
ioHandler
- Specified by:
ioHandler
in interfaceAFileSystem
-
lookupRoot
- Specified by:
lookupRoot
in interfaceAFileSystem
-
getRoot
- Specified by:
getRoot
in interfaceAFileSystem
-
ensureRoot
- Specified by:
ensureRoot
in interfaceAFileSystem
-
validateMember
- Specified by:
validateMember
in interfaceAFileSystem
-
ensureRoot
- Specified by:
ensureRoot
in interfaceAFileSystem
-
ensureDefaultRoot
Description copied from interface:AFileSystem
Ensures the default root directory. May not be supported by different file system implementations.- Specified by:
ensureDefaultRoot
in interfaceAFileSystem
-
addRoot
- Specified by:
addRoot
in interfaceAFileSystem
-
removeRoot
- Specified by:
removeRoot
in interfaceAFileSystem
-
removeRoot
- Specified by:
removeRoot
in interfaceAFileSystem
-
accessRoots
- Specified by:
accessRoots
in interfaceAFileSystem
-
resolveDirectoryPath
- Specified by:
resolveDirectoryPath
in interfaceAResolving
-
ensureDirectoryPath
- Specified by:
ensureDirectoryPath
in interfaceAFileSystem
-
ensureFilePath
public final AFile ensureFilePath(String[] directoryPathElements, int offset, int length, String fileIdentifier)- Specified by:
ensureFilePath
in interfaceAFileSystem
-
assemblePath
- Specified by:
assemblePath
in interfaceAFileSystem
-
assemblePath
- Specified by:
assemblePath
in interfaceAFileSystem
-
buildPath
- Specified by:
buildPath
in interfaceAFileSystem
-
createRootDirectory
- Specified by:
createRootDirectory
in interfaceARoot.Creator
-