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.CreatorNested 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 protectedAbstract(String defaultProtocol, H ioHandler)protectedAbstract(String defaultProtocol, ACreator.Creator creatorCreator, H ioHandler)protectedAbstract(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, waitMethods inherited from interface one.microstream.afs.types.ACreator
createDirectory, createFile, createFileMethods inherited from interface one.microstream.afs.types.AFileSystem
assemblePath, assemblePath, buildPath, buildPath, convertToReading, convertToWriting, deriveFileIdentifier, deriveFileName, deriveFileType, ensureDirectoryPath, ensureFilePath, ensureFilePath, getFileName, getFileType, wrapForReading, wrapForWritingMethods inherited from interface one.microstream.afs.types.AResolver
ensureDirectory, ensureFile, resolve, resolve, resolveDirectory, resolveDirectoryToPath, resolveFile, resolveFileToPathMethods inherited from interface one.microstream.afs.types.AResolving
resolveDirectoryPath, resolveFilePath, resolveFilePath, resolveFilePathMethods 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:
validateIsWritablein interfaceWriteController
-
isWritable
public final boolean isWritable()- Specified by:
isWritablein interfaceWriteController
-
ensureCreator
-
fileSystem
- Specified by:
fileSystemin interfaceAResolver<H extends AIoHandler,D>
-
defaultProtocol
- Specified by:
defaultProtocolin interfaceAFileSystem
-
creator
- Specified by:
creatorin interfaceAFileSystem
-
accessManager
- Specified by:
accessManagerin interfaceAFileSystem
-
ioHandler
- Specified by:
ioHandlerin interfaceAFileSystem
-
lookupRoot
- Specified by:
lookupRootin interfaceAFileSystem
-
getRoot
- Specified by:
getRootin interfaceAFileSystem
-
ensureRoot
- Specified by:
ensureRootin interfaceAFileSystem
-
validateMember
- Specified by:
validateMemberin interfaceAFileSystem
-
ensureRoot
- Specified by:
ensureRootin interfaceAFileSystem
-
ensureDefaultRoot
Description copied from interface:AFileSystemEnsures the default root directory. May not be supported by different file system implementations.- Specified by:
ensureDefaultRootin interfaceAFileSystem
-
addRoot
- Specified by:
addRootin interfaceAFileSystem
-
removeRoot
- Specified by:
removeRootin interfaceAFileSystem
-
removeRoot
- Specified by:
removeRootin interfaceAFileSystem
-
accessRoots
- Specified by:
accessRootsin interfaceAFileSystem
-
resolveDirectoryPath
- Specified by:
resolveDirectoryPathin interfaceAResolving
-
ensureDirectoryPath
- Specified by:
ensureDirectoryPathin interfaceAFileSystem
-
ensureFilePath
public final AFile ensureFilePath(String[] directoryPathElements, int offset, int length, String fileIdentifier)- Specified by:
ensureFilePathin interfaceAFileSystem
-
assembleItemPath
-
assemblePath
- Specified by:
assemblePathin interfaceAFileSystem
-
assemblePath
- Specified by:
assemblePathin interfaceAFileSystem
-
buildPath
- Specified by:
buildPathin interfaceAFileSystem
-
createRootDirectory
- Specified by:
createRootDirectoryin interfaceARoot.Creator
-