Package one.microstream.afs.types
Class AFileSystem.Abstract<H extends AIoHandler,D,F>
java.lang.Object
one.microstream.afs.types.AFileSystem.Abstract<H,D,F>
- All Implemented Interfaces:
ACreator
,AFileSystem
,AResolver<D,F>
,AResolving
,ARoot.Creator
,WriteController
- Direct Known Subclasses:
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.types.ACreator
ACreator.Creator
Nested classes/interfaces inherited from interface one.microstream.afs.types.AFileSystem
AFileSystem.Abstract<H extends AIoHandler,D,F>
Nested classes/interfaces inherited from interface one.microstream.afs.types.WriteController
WriteController.Disabled, WriteController.Enabled
-
Constructor Summary
Constructors Modifier Constructor Description protected
Abstract(String defaultProtocol, H ioHandler)
protected
Abstract(String defaultProtocol, ACreator.Creator creatorCreator, H ioHandler)
protected
Abstract(String defaultProtocol, ACreator.Creator creatorCreator, AccessManager.Creator accessManagerCreator, H ioHandler)
-
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.types.ACreator
createDirectory, createFile, createFile
Methods inherited from interface one.microstream.afs.types.AFileSystem
assemblePath, assemblePath, buildPath, buildPath, convertToReading, convertToWriting, deriveFileIdentifier, deriveFileName, deriveFileType, ensureDirectoryPath, ensureFilePath, ensureFilePath, getFileName, getFileType, wrapForReading, wrapForWriting
Methods inherited from interface one.microstream.afs.types.AResolver
ensureDirectory, ensureFile, resolve, resolve, resolveDirectory, resolveDirectoryToPath, resolveFile, resolveFileToPath
Methods inherited from interface one.microstream.afs.types.AResolving
resolveDirectoryPath, resolveFilePath, resolveFilePath, resolveFilePath
Methods inherited from interface one.microstream.afs.types.ARoot.Creator
createRootDirectory, protocol
-
Constructor Details
-
Abstract
-
Abstract
-
Abstract
protected Abstract(String defaultProtocol, ACreator.Creator creatorCreator, AccessManager.Creator accessManagerCreator, H ioHandler)
-
-
Method Details
-
validateIsWritable
public final void validateIsWritable()- Specified by:
validateIsWritable
in interfaceWriteController
-
isWritable
public final boolean isWritable()- Specified by:
isWritable
in interfaceWriteController
-
ensureCreator
-
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
-
assembleItemPath
-
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
-