Class BlockIdCommand


@Private @Evolving public class BlockIdCommand extends DatanodeCommand
A BlockIdCommand is an instruction to a datanode regarding some blocks under its control.
  • Constructor Details

    • BlockIdCommand

      public BlockIdCommand(int action, String poolId, long[] blockIds)
      Create BlockCommand for the given action
  • Method Details

    • getBlockPoolId

      public String getBlockPoolId()
    • getBlockIds

      public long[] getBlockIds()