Java 类org.apache.hadoop.hdfs.protocol.SnapshotInfo 实例源码

项目:hadoop    文件:SnapshotManager.java   
@Override // SnapshotStatsMXBean
public SnapshotInfo.Bean[] getSnapshots() {
  List<SnapshotInfo.Bean> beans = new ArrayList<SnapshotInfo.Bean>();
  for (INodeDirectory d : getSnapshottableDirs()) {
    for (Snapshot s : d.getDirectorySnapshottableFeature().getSnapshotList()) {
      beans.add(toBean(s));
    }
  }
  return beans.toArray(new SnapshotInfo.Bean[beans.size()]);
}
项目:aliyun-oss-hadoop-fs    文件:SnapshotManager.java   
@Override // SnapshotStatsMXBean
public SnapshotInfo.Bean[] getSnapshots() {
  List<SnapshotInfo.Bean> beans = new ArrayList<SnapshotInfo.Bean>();
  for (INodeDirectory d : getSnapshottableDirs()) {
    for (Snapshot s : d.getDirectorySnapshottableFeature().getSnapshotList()) {
      beans.add(toBean(s));
    }
  }
  return beans.toArray(new SnapshotInfo.Bean[beans.size()]);
}
项目:big-c    文件:SnapshotManager.java   
@Override // SnapshotStatsMXBean
public SnapshotInfo.Bean[] getSnapshots() {
  List<SnapshotInfo.Bean> beans = new ArrayList<SnapshotInfo.Bean>();
  for (INodeDirectory d : getSnapshottableDirs()) {
    for (Snapshot s : d.getDirectorySnapshottableFeature().getSnapshotList()) {
      beans.add(toBean(s));
    }
  }
  return beans.toArray(new SnapshotInfo.Bean[beans.size()]);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:SnapshotManager.java   
@Override // SnapshotStatsMXBean
public SnapshotInfo.Bean[] getSnapshots() {
  List<SnapshotInfo.Bean> beans = new ArrayList<SnapshotInfo.Bean>();
  for (INodeDirectory d : getSnapshottableDirs()) {
    for (Snapshot s : d.getDirectorySnapshottableFeature().getSnapshotList()) {
      beans.add(toBean(s));
    }
  }
  return beans.toArray(new SnapshotInfo.Bean[beans.size()]);
}
项目:FlexMap    文件:SnapshotManager.java   
@Override // SnapshotStatsMXBean
public SnapshotInfo.Bean[] getSnapshots() {
  List<SnapshotInfo.Bean> beans = new ArrayList<SnapshotInfo.Bean>();
  for (INodeDirectory d : getSnapshottableDirs()) {
    for (Snapshot s : d.getDirectorySnapshottableFeature().getSnapshotList()) {
      beans.add(toBean(s));
    }
  }
  return beans.toArray(new SnapshotInfo.Bean[beans.size()]);
}
项目:hadoop    文件:SnapshotManager.java   
public static SnapshotInfo.Bean toBean(Snapshot s) {
  return new SnapshotInfo.Bean(
      s.getRoot().getLocalName(), s.getRoot().getFullPathName(),
      s.getRoot().getModificationTime());
}
项目:aliyun-oss-hadoop-fs    文件:SnapshotManager.java   
public static SnapshotInfo.Bean toBean(Snapshot s) {
  return new SnapshotInfo.Bean(
      s.getRoot().getLocalName(), s.getRoot().getFullPathName(),
      s.getRoot().getModificationTime());
}
项目:big-c    文件:SnapshotManager.java   
public static SnapshotInfo.Bean toBean(Snapshot s) {
  return new SnapshotInfo.Bean(
      s.getRoot().getLocalName(), s.getRoot().getFullPathName(),
      s.getRoot().getModificationTime());
}
项目:hadoop-2.6.0-cdh5.4.3    文件:SnapshotManager.java   
public static SnapshotInfo.Bean toBean(Snapshot s) {
  return new SnapshotInfo.Bean(
      s.getRoot().getLocalName(), s.getRoot().getFullPathName(),
      s.getRoot().getModificationTime());
}
项目:FlexMap    文件:SnapshotManager.java   
public static SnapshotInfo.Bean toBean(Snapshot s) {
  return new SnapshotInfo.Bean(
      s.getRoot().getLocalName(), s.getRoot().getFullPathName(),
      s.getRoot().getModificationTime());
}
项目:hadoop    文件:SnapshotStatsMXBean.java   
/**
 * Return the list of snapshots
 *
 * @return the list of snapshots
 */
public SnapshotInfo.Bean[] getSnapshots();
项目:aliyun-oss-hadoop-fs    文件:SnapshotStatsMXBean.java   
/**
 * Return the list of snapshots
 *
 * @return the list of snapshots
 */
public SnapshotInfo.Bean[] getSnapshots();
项目:big-c    文件:SnapshotStatsMXBean.java   
/**
 * Return the list of snapshots
 *
 * @return the list of snapshots
 */
public SnapshotInfo.Bean[] getSnapshots();
项目:hadoop-2.6.0-cdh5.4.3    文件:SnapshotStatsMXBean.java   
/**
 * Return the list of snapshots
 *
 * @return the list of snapshots
 */
public SnapshotInfo.Bean[] getSnapshots();
项目:FlexMap    文件:SnapshotStatsMXBean.java   
/**
 * Return the list of snapshots
 *
 * @return the list of snapshots
 */
public SnapshotInfo.Bean[] getSnapshots();