Example usage for org.apache.hadoop.hdfs.protocol.datatransfer PipelineAck getStatusFromHeader

List of usage examples for org.apache.hadoop.hdfs.protocol.datatransfer PipelineAck getStatusFromHeader

Introduction

In this page you can find the example usage for org.apache.hadoop.hdfs.protocol.datatransfer PipelineAck getStatusFromHeader.

Prototype

public static Status getStatusFromHeader(int header) 

Source Link

Usage

From source file:com.mellanox.r4h.R4HPipelineAck.java

License:Apache License

/**
 * get the ith reply - The api has been changed since hadoop 2.6
 * @return the the ith reply/*  w w w  .  jav a2  s. co  m*/
 */
public Status getReply(int i) {
    return PipelineAck.getStatusFromHeader(this.getHeaderFlag(i));
}