微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

org.apache.hadoop.hdfs.server.namenode.XAttrFeature的实例源码

项目:hadoop    文件Snapshot.java   
Root(INodeDirectory other) {
  // Always preserve ACL,XAttr.
  super(other,false,Lists.newArrayList(
    Iterables.filter(Arrays.asList(other.getFeatures()),new Predicate<Feature>() {

      @Override
      public boolean apply(Feature input) {
        if (AclFeature.class.isinstance(input) 
            || XAttrFeature.class.isinstance(input)) {
          return true;
        }
        return false;
      }

    }))
    .toArray(new Feature[0]));
}
项目:aliyun-oss-hadoop-fs    文件Snapshot.java   
Root(INodeDirectory other) {
  // Always preserve ACL,new Predicate<Feature>() {

      @Override
      public boolean apply(Feature input) {
        if (AclFeature.class.isinstance(input) 
            || XAttrFeature.class.isinstance(input)) {
          return true;
        }
        return false;
      }

    }))
    .toArray(new Feature[0]));
}
项目:big-c    文件Snapshot.java   
Root(INodeDirectory other) {
  // Always preserve ACL,new Predicate<Feature>() {

      @Override
      public boolean apply(Feature input) {
        if (AclFeature.class.isinstance(input) 
            || XAttrFeature.class.isinstance(input)) {
          return true;
        }
        return false;
      }

    }))
    .toArray(new Feature[0]));
}
项目:hadoop-2.6.0-cdh5.4.3    文件Snapshot.java   
Root(INodeDirectory other) {
  // Always preserve ACL,new Predicate<Feature>() {

      @Override
      public boolean apply(Feature input) {
        if (AclFeature.class.isinstance(input) 
            || XAttrFeature.class.isinstance(input)) {
          return true;
        }
        return false;
      }

    }))
    .toArray(new Feature[0]));
}
项目:FlexMap    文件Snapshot.java   
Root(INodeDirectory other) {
  // Always preserve ACL,new Predicate<Feature>() {

      @Override
      public boolean apply(Feature input) {
        if (AclFeature.class.isinstance(input) 
            || XAttrFeature.class.isinstance(input)) {
          return true;
        }
        return false;
      }

    }))
    .toArray(new Feature[0]));
}
项目: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);
}
项目:hadoop    文件INodeAttributes.java   
Snapshotcopy(byte[] name,XAttrFeature xAttrFeature) {
  this.name = name;
  this.permission = PermissionStatusFormat.toLong(permissions);
  if (aclFeature != null) {
    aclFeature = AclStorage.addAclFeature(aclFeature);
  }
  this.aclFeature = aclFeature;
  this.modificationTime = modificationTime;
  this.accesstime = accesstime;
  this.xAttrFeature = xAttrFeature;
}
项目:aliyun-oss-hadoop-fs    文件INodeAttributes.java   
Snapshotcopy(byte[] name,XAttrFeature xAttrFeature) {
  this.name = name;
  this.permission = PermissionStatusFormat.toLong(permissions);
  if (aclFeature != null) {
    aclFeature = AclStorage.addAclFeature(aclFeature);
  }
  this.aclFeature = aclFeature;
  this.modificationTime = modificationTime;
  this.accesstime = accesstime;
  this.xAttrFeature = xAttrFeature;
}
项目:big-c    文件INodeFileAttributes.java   
public Snapshotcopy(byte[] name,storagePolicyID);
}
项目:big-c    文件INodeAttributes.java   
Snapshotcopy(byte[] name,XAttrFeature xAttrFeature) {
  this.name = name;
  this.permission = PermissionStatusFormat.toLong(permissions);
  if (aclFeature != null) {
    aclFeature = AclStorage.addAclFeature(aclFeature);
  }
  this.aclFeature = aclFeature;
  this.modificationTime = modificationTime;
  this.accesstime = accesstime;
  this.xAttrFeature = xAttrFeature;
}
项目:hadoop-2.6.0-cdh5.4.3    文件INodeFileAttributes.java   
public Snapshotcopy(byte[] name,storagePolicyID);
}
项目:hadoop-2.6.0-cdh5.4.3    文件INodeAttributes.java   
Snapshotcopy(byte[] name,XAttrFeature xAttrFeature) {
  this.name = name;
  this.permission = PermissionStatusFormat.toLong(permissions);
  this.aclFeature = aclFeature;
  this.modificationTime = modificationTime;
  this.accesstime = accesstime;
  this.xAttrFeature = xAttrFeature;
}
项目:FlexMap    文件INodeFileAttributes.java   
public Snapshotcopy(byte[] name,storagePolicyID);
}
项目:FlexMap    文件INodeAttributes.java   
Snapshotcopy(byte[] name,XAttrFeature xAttrFeature) {
  this.name = name;
  this.permission = PermissionStatusFormat.toLong(permissions);
  this.aclFeature = aclFeature;
  this.modificationTime = modificationTime;
  this.accesstime = accesstime;
  this.xAttrFeature = xAttrFeature;
}
项目:hadoop    文件INodeAttributes.java   
/** @return the XAttrs feature. */
public XAttrFeature getXAttrFeature();
项目:hadoop    文件INodeAttributes.java   
@Override
public final XAttrFeature getXAttrFeature() {
  return xAttrFeature;
}
项目:aliyun-oss-hadoop-fs    文件INodeAttributes.java   
/** @return the XAttrs feature. */
public XAttrFeature getXAttrFeature();
项目:aliyun-oss-hadoop-fs    文件INodeAttributes.java   
@Override
public final XAttrFeature getXAttrFeature() {
  return xAttrFeature;
}
项目:big-c    文件INodeAttributes.java   
/** @return the XAttrs feature. */
public XAttrFeature getXAttrFeature();
项目:big-c    文件INodeAttributes.java   
@Override
public final XAttrFeature getXAttrFeature() {
  return xAttrFeature;
}
项目:hadoop-2.6.0-cdh5.4.3    文件INodeAttributes.java   
/** @return the XAttrs feature. */
public XAttrFeature getXAttrFeature();
项目:hadoop-2.6.0-cdh5.4.3    文件INodeAttributes.java   
@Override
public final XAttrFeature getXAttrFeature() {
  return xAttrFeature;
}
项目:FlexMap    文件INodeSymlink.java   
@Override
final XAttrFeature getXAttrFeature(int snapshotId) {
  throw new UnsupportedOperationException("XAttrs are not supported on symlinks");
}
项目:FlexMap    文件INodeSymlink.java   
@Override
public void addXAttrFeature(XAttrFeature f) {
  throw new UnsupportedOperationException("XAttrs are not supported on symlinks");
}
项目:FlexMap    文件INodeAttributes.java   
/** @return the XAttrs feature. */
public XAttrFeature getXAttrFeature();
项目:FlexMap    文件INodeAttributes.java   
@Override
public final XAttrFeature getXAttrFeature() {
  return xAttrFeature;
}

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。