Class BlockIdCommand
java.lang.Object
org.apache.hadoop.hdfs.server.protocol.ServerCommand
org.apache.hadoop.hdfs.server.protocol.DatanodeCommand
org.apache.hadoop.hdfs.server.protocol.BlockIdCommand
A BlockIdCommand is an instruction to a datanode
regarding some blocks under its control.
-
Constructor Summary
ConstructorsConstructorDescriptionBlockIdCommand(int action, String poolId, long[] blockIds) Create BlockCommand for the given action -
Method Summary
Methods inherited from class org.apache.hadoop.hdfs.server.protocol.ServerCommand
getAction, toString
-
Constructor Details
-
BlockIdCommand
Create BlockCommand for the given action
-
-
Method Details
-
getBlockPoolId
-
getBlockIds
public long[] getBlockIds()
-