- <init>
- getRoot
Get root directory of this storage
- getStorageDirType
Get storage directory type
- getVersionFile
File VERSION contains the following fields: 1. node type
2. layout version
3. namespaceID
4. fs s
- getCurrentDir
Directory current contains latest files defining the file system meta-data.
- getPreviousDir
Directory previous contains the previous file system state, which the system can
be rolled back to.
- getPreviousTmp
previous.tmp is a transient directory, which holds current file system state
while the new state is
- lock
Lock storage to provide exclusive access. Locking is not supported by all file
systems. E.g., NFS do
- unlock
Unlock storage.
- analyzeStorage
Check consistency of the storage directory.
- clearDirectory
Clear and re-create storage directory. Removes contents of the current directory
and creates an empt
- doRecover
Complete or recover storage state from previously failed transition.