public static class CachingBlockMasterClient.CachingBlockMapIterator extends BlockMapIterator
Constructor and Description |
---|
CachingBlockMapIterator(Map<BlockStoreLocation,List<Long>> blockLocationMap,
AlluxioConfiguration conf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
List<LocationBlockIdListEntry> |
next() |
getBatchCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public CachingBlockMapIterator(Map<BlockStoreLocation,List<Long>> blockLocationMap, AlluxioConfiguration conf)
blockLocationMap
- the block lists of each locationconf
- configuration propertiespublic boolean hasNext()
hasNext
in interface Iterator<List<LocationBlockIdListEntry>>
hasNext
in class BlockMapIterator
public List<LocationBlockIdListEntry> next()
next
in interface Iterator<List<LocationBlockIdListEntry>>
next
in class BlockMapIterator
Copyright © 2023. All Rights Reserved.