public static class CachingBlockMasterClient.CachingBlockMapIterator extends BlockMapIterator
| Constructor and Description |
|---|
CachingBlockMapIterator(java.util.Map<BlockStoreLocation,java.util.List<java.lang.Long>> blockLocationMap,
AlluxioConfiguration conf)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
java.util.List<LocationBlockIdListEntry> |
next() |
getBatchCountpublic CachingBlockMapIterator(java.util.Map<BlockStoreLocation,java.util.List<java.lang.Long>> blockLocationMap, AlluxioConfiguration conf)
blockLocationMap - the block lists of each locationconf - configuration propertiespublic boolean hasNext()
hasNext in interface java.util.Iterator<java.util.List<LocationBlockIdListEntry>>hasNext in class BlockMapIteratorpublic java.util.List<LocationBlockIdListEntry> next()
next in interface java.util.Iterator<java.util.List<LocationBlockIdListEntry>>next in class BlockMapIteratorCopyright © 2023. All Rights Reserved.