Class InMemoryAliasMapProtocol.IterationResult

java.lang.Object
org.apache.hadoop.hdfs.server.aliasmap.InMemoryAliasMapProtocol.IterationResult
Enclosing interface:
InMemoryAliasMapProtocol

public static class InMemoryAliasMapProtocol.IterationResult extends Object
The result of a read from the in-memory aliasmap. It contains the a list of FileRegions that are returned, along with the next block from which the read operation must continue.
  • Constructor Details

    • IterationResult

      public IterationResult(List<FileRegion> batch, Optional<org.apache.hadoop.hdfs.protocol.Block> nextMarker)
  • Method Details

    • getFileRegions

      public List<FileRegion> getFileRegions()
    • getNextBlock

      public Optional<org.apache.hadoop.hdfs.protocol.Block> getNextBlock()