Browse Source

HDFS-10387. DataTransferProtocol#writeBlock missing some javadocs (John Zhuge via lei)

Lei Xu 9 years ago
parent
commit
d5f5a6475b

+ 5 - 0
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/DataTransferProtocol.java

@@ -94,6 +94,11 @@ public interface DataTransferProtocol {
    * @param minBytesRcvd minimum number of bytes received.
    * @param maxBytesRcvd maximum number of bytes received.
    * @param latestGenerationStamp the latest generation stamp of the block.
+   * @param requestedChecksum the requested checksum mechanism
+   * @param cachingStrategy the caching strategy
+   * @param allowLazyPersist hint to the DataNode that the block can be
+   *                         allocated on transient storage i.e. memory and
+   *                         written to disk lazily
    * @param pinning whether to pin the block, so Balancer won't move it.
    * @param targetPinnings whether to pin the block on target datanode
    */