org.apache.hadoop.hdfs.server.namenode.snapshot
Class FileWithSnapshot.Util
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.snapshot.FileWithSnapshot.Util
- Enclosing interface:
- org.apache.hadoop.hdfs.server.namenode.snapshot.FileWithSnapshot
public static class FileWithSnapshot.Util
- extends Object
Utility methods for the classes which implement the interface.
Method Summary |
static short |
getBlockReplication(org.apache.hadoop.hdfs.server.namenode.snapshot.FileWithSnapshot file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileWithSnapshot.Util
public FileWithSnapshot.Util()
getBlockReplication
public static short getBlockReplication(org.apache.hadoop.hdfs.server.namenode.snapshot.FileWithSnapshot file)
- Returns:
- block replication, which is the max file replication among
the file and the diff list.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.