Interface Storage.FormatConfirmable
- All Known Subinterfaces:
JournalManager
- All Known Implementing Classes:
FileJournalManager,JournalSet,QuorumJournalManager,Storage.StorageDirectory
- Enclosing class:
- Storage
@Private
public static interface Storage.FormatConfirmable
Interface for classes which need to have the user confirm their
formatting during NameNode -format and other similar operations.
This is currently a storage directory or journal manager.
-
Method Summary
-
Method Details
-
hasSomeData
- Returns:
- true if the storage seems to have some valid data in it, and the user should be required to confirm the format. Otherwise, false.
- Throws:
IOException- if the storage cannot be accessed at all.
-
toString
String toString()
-