Java 类org.apache.hadoop.hdfs.server.namenode.INodeFile.HeaderFormat 实例源码

项目:hadoop    文件:INodeFileAttributes.java   
public SnapshotCopy(byte[] name, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime,
    short replication, long preferredBlockSize, byte storagePolicyID,
    XAttrFeature xAttrsFeature) {
  super(name, permissions, aclFeature, modificationTime, accessTime, 
      xAttrsFeature);
  header = HeaderFormat.toLong(preferredBlockSize, replication, storagePolicyID);
}
项目:aliyun-oss-hadoop-fs    文件:INodeFileAttributes.java   
public SnapshotCopy(byte[] name, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime,
    short replication, long preferredBlockSize,
    byte storagePolicyID, XAttrFeature xAttrsFeature, boolean isStriped) {
  super(name, permissions, aclFeature, modificationTime, accessTime, 
      xAttrsFeature);
  header = HeaderFormat.toLong(preferredBlockSize, replication, isStriped,
      storagePolicyID);
}
项目:big-c    文件:INodeFileAttributes.java   
public SnapshotCopy(byte[] name, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime,
    short replication, long preferredBlockSize, byte storagePolicyID,
    XAttrFeature xAttrsFeature) {
  super(name, permissions, aclFeature, modificationTime, accessTime, 
      xAttrsFeature);
  header = HeaderFormat.toLong(preferredBlockSize, replication, storagePolicyID);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:INodeFileAttributes.java   
public SnapshotCopy(byte[] name, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime,
    short replication, long preferredBlockSize, byte storagePolicyID,
    XAttrFeature xAttrsFeature) {
  super(name, permissions, aclFeature, modificationTime, accessTime, 
      xAttrsFeature);
  header = HeaderFormat.toLong(preferredBlockSize, replication, storagePolicyID);
}
项目:hadoop-plus    文件:INodeFileAttributes.java   
public SnapshotCopy(byte[] name, PermissionStatus permissions,
    long modificationTime, long accessTime,
    short replication, long preferredBlockSize) {
  super(name, permissions, modificationTime, accessTime);

  final long h = HeaderFormat.combineReplication(0L, replication);
  header = HeaderFormat.combinePreferredBlockSize(h, preferredBlockSize);
}
项目:FlexMap    文件:INodeFileAttributes.java   
public SnapshotCopy(byte[] name, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime,
    short replication, long preferredBlockSize, byte storagePolicyID,
    XAttrFeature xAttrsFeature) {
  super(name, permissions, aclFeature, modificationTime, accessTime, 
      xAttrsFeature);
  header = HeaderFormat.toLong(preferredBlockSize, replication, storagePolicyID);
}
项目:hadoop-TCP    文件:INodeFileAttributes.java   
public SnapshotCopy(byte[] name, PermissionStatus permissions,
    long modificationTime, long accessTime,
    short replication, long preferredBlockSize) {
  super(name, permissions, modificationTime, accessTime);

  final long h = HeaderFormat.combineReplication(0L, replication);
  header = HeaderFormat.combinePreferredBlockSize(h, preferredBlockSize);
}
项目:hardfs    文件:INodeFileAttributes.java   
public SnapshotCopy(byte[] name, PermissionStatus permissions,
    long modificationTime, long accessTime,
    short replication, long preferredBlockSize) {
  super(name, permissions, modificationTime, accessTime);

  final long h = HeaderFormat.combineReplication(0L, replication);
  header = HeaderFormat.combinePreferredBlockSize(h, preferredBlockSize);
}
项目:hadoop-on-lustre2    文件:INodeFileAttributes.java   
public SnapshotCopy(byte[] name, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime,
    short replication, long preferredBlockSize) {
  super(name, permissions, aclFeature, modificationTime, accessTime);

  final long h = HeaderFormat.combineReplication(0L, replication);
  header = HeaderFormat.combinePreferredBlockSize(h, preferredBlockSize);
}
项目:hadoop    文件:INodeFileAttributes.java   
@Override
public short getFileReplication() {
  return HeaderFormat.getReplication(header);
}
项目:hadoop    文件:INodeFileAttributes.java   
@Override
public long getPreferredBlockSize() {
  return HeaderFormat.getPreferredBlockSize(header);
}
项目:hadoop    文件:INodeFileAttributes.java   
@Override
public byte getLocalStoragePolicyID() {
  return HeaderFormat.getStoragePolicyID(header);
}
项目:aliyun-oss-hadoop-fs    文件:INodeFileAttributes.java   
@Override
public short getFileReplication() {
  return HeaderFormat.getReplication(header);
}
项目:aliyun-oss-hadoop-fs    文件:INodeFileAttributes.java   
@Override
public boolean isStriped() {
  return HeaderFormat.isStriped(header);
}
项目:aliyun-oss-hadoop-fs    文件:INodeFileAttributes.java   
@Override
public long getPreferredBlockSize() {
  return HeaderFormat.getPreferredBlockSize(header);
}
项目:aliyun-oss-hadoop-fs    文件:INodeFileAttributes.java   
@Override
public byte getLocalStoragePolicyID() {
  return HeaderFormat.getStoragePolicyID(header);
}
项目:big-c    文件:INodeFileAttributes.java   
@Override
public short getFileReplication() {
  return HeaderFormat.getReplication(header);
}
项目:big-c    文件:INodeFileAttributes.java   
@Override
public long getPreferredBlockSize() {
  return HeaderFormat.getPreferredBlockSize(header);
}
项目:big-c    文件:INodeFileAttributes.java   
@Override
public byte getLocalStoragePolicyID() {
  return HeaderFormat.getStoragePolicyID(header);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:INodeFileAttributes.java   
@Override
public short getFileReplication() {
  return HeaderFormat.getReplication(header);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:INodeFileAttributes.java   
@Override
public long getPreferredBlockSize() {
  return HeaderFormat.getPreferredBlockSize(header);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:INodeFileAttributes.java   
@Override
public byte getLocalStoragePolicyID() {
  return HeaderFormat.getStoragePolicyID(header);
}
项目:hadoop-plus    文件:INodeFileAttributes.java   
@Override
public short getFileReplication() {
  return HeaderFormat.getReplication(header);
}
项目:hadoop-plus    文件:INodeFileAttributes.java   
@Override
public long getPreferredBlockSize() {
  return HeaderFormat.getPreferredBlockSize(header);
}
项目:FlexMap    文件:INodeFileAttributes.java   
@Override
public short getFileReplication() {
  return HeaderFormat.getReplication(header);
}
项目:FlexMap    文件:INodeFileAttributes.java   
@Override
public long getPreferredBlockSize() {
  return HeaderFormat.getPreferredBlockSize(header);
}
项目:FlexMap    文件:INodeFileAttributes.java   
@Override
public byte getLocalStoragePolicyID() {
  return HeaderFormat.getStoragePolicyID(header);
}
项目:hadoop-TCP    文件:INodeFileAttributes.java   
@Override
public short getFileReplication() {
  return HeaderFormat.getReplication(header);
}
项目:hadoop-TCP    文件:INodeFileAttributes.java   
@Override
public long getPreferredBlockSize() {
  return HeaderFormat.getPreferredBlockSize(header);
}
项目:hardfs    文件:INodeFileAttributes.java   
@Override
public short getFileReplication() {
  return HeaderFormat.getReplication(header);
}
项目:hardfs    文件:INodeFileAttributes.java   
@Override
public long getPreferredBlockSize() {
  return HeaderFormat.getPreferredBlockSize(header);
}
项目:hadoop-on-lustre2    文件:INodeFileAttributes.java   
@Override
public short getFileReplication() {
  return HeaderFormat.getReplication(header);
}
项目:hadoop-on-lustre2    文件:INodeFileAttributes.java   
@Override
public long getPreferredBlockSize() {
  return HeaderFormat.getPreferredBlockSize(header);
}