Package one.microstream.afs.types
Class AFile.Default
java.lang.Object
one.microstream.afs.types.AItem.Base
one.microstream.afs.types.AItem.Abstract
one.microstream.afs.types.AFile.Default
- Enclosing interface:
- AFile
public static class AFile.Default extends AItem.Abstract implements AFile
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.afs.types.AFile
AFile.Default, AFile.Observer, AFile.WrapperNested classes/interfaces inherited from interface one.microstream.afs.types.AItem
AItem.Abstract, AItem.Base, AItem.Wrapper -
Constructor Summary
Constructors Modifier Constructor Description protectedDefault(ADirectory parent, String identifier) -
Method Summary
Modifier and Type Method Description AFileSystemfileSystem()<C extends Consumer<? super AFile.Observer>>
CiterateObservers(C logic)ADirectoryparent()The directory (identifying container) in which this item is located and in which no other item can have the sameAItem.identifier()as this item.booleanregisterObserver(AFile.Observer observer)booleanremoveObserver(AFile.Observer observer)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface one.microstream.afs.types.AFile
defaultUser, ensureExists, exists, isEmpty, isUsed, name, size, toPath, toPathString, tryUseReading, tryUseReading, tryUseWriting, tryUseWriting, type, useReading, useReading, useWriting, useWriting
-
Constructor Details
-
Method Details
-
parent
Description copied from interface:AItemThe directory (identifying container) in which this item is located and in which no other item can have the sameAItem.identifier()as this item.- Specified by:
parentin interfaceAItem- Returns:
- the item's parent directory.
- See Also:
AItem.identifier(),AItem.toPathString()
-
fileSystem
- Specified by:
fileSystemin interfaceAItem
-
registerObserver
- Specified by:
registerObserverin interfaceAFile
-
removeObserver
- Specified by:
removeObserverin interfaceAFile
-
iterateObservers
- Specified by:
iterateObserversin interfaceAFile
-