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