Java 类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, 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]));
}
项目:big-c    文件: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]));
}
项目:hadoop-2.6.0-cdh5.4.3    文件: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]));
}
项目:FlexMap    文件: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]));
}
项目: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, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime, 
    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, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime, 
    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, 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);
}
项目:big-c    文件:INodeAttributes.java   
SnapshotCopy(byte[] name, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime, 
    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, 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    文件:INodeAttributes.java   
SnapshotCopy(byte[] name, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime, 
    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, 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);
}
项目:FlexMap    文件:INodeAttributes.java   
SnapshotCopy(byte[] name, PermissionStatus permissions,
    AclFeature aclFeature, long modificationTime, long accessTime, 
    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;
}