Package | Description |
---|---|
org.apache.hadoop.hdfs.server.common |
Modifier and Type | Method and Description |
---|---|
Storage.StorageDirType |
Storage.StorageDirType.getStorageDirType() |
Storage.StorageDirType |
Storage.StorageDirectory.getStorageDirType()
Get storage directory type
|
Modifier and Type | Method and Description |
---|---|
Iterable<Storage.StorageDirectory> |
Storage.dirIterable(Storage.StorageDirType dirType) |
Iterator<Storage.StorageDirectory> |
Storage.dirIterator(Storage.StorageDirType dirType)
Return iterator based on Storage Directory Type
This iterator selects entries in storageDirs of type dirType and returns
them via the Iterator
|
List<File> |
Storage.getFiles(Storage.StorageDirType dirType,
String fileName) |
boolean |
Storage.StorageDirType.isOfType(Storage.StorageDirType type) |
Constructor and Description |
---|
Storage.StorageDirectory(File dir,
Storage.StorageDirType dirType) |
Storage.StorageDirectory(File dir,
Storage.StorageDirType dirType,
boolean useLock)
Constructor
|
Copyright © 2013 Apache Software Foundation. All rights reserved.