public static class INodeFileAttributes.SnapshotCopy extends INodeAttributes.SnapshotCopy implements org.apache.hadoop.hdfs.server.namenode.INodeFileAttributes
INodeFileAttributes.SnapshotCopy| Constructor and Description |
|---|
INodeFileAttributes.SnapshotCopy(byte[] name,
org.apache.hadoop.fs.permission.PermissionStatus permissions,
long modificationTime,
long accessTime,
short replication,
long preferredBlockSize) |
INodeFileAttributes.SnapshotCopy(org.apache.hadoop.hdfs.server.namenode.INodeFile file) |
| Modifier and Type | Method and Description |
|---|---|
short |
getFileReplication() |
long |
getHeaderLong() |
long |
getPreferredBlockSize() |
getAccessTime, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserNamepublic INodeFileAttributes.SnapshotCopy(byte[] name, org.apache.hadoop.fs.permission.PermissionStatus permissions, long modificationTime, long accessTime, short replication, long preferredBlockSize)
public INodeFileAttributes.SnapshotCopy(org.apache.hadoop.hdfs.server.namenode.INodeFile file)
public short getFileReplication()
getFileReplication in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributespublic long getPreferredBlockSize()
getPreferredBlockSize in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributespublic long getHeaderLong()
getHeaderLong in interface org.apache.hadoop.hdfs.server.namenode.INodeFileAttributesCopyright © 2014 Apache Software Foundation. All Rights Reserved.