org.apache.hadoop.hdfs.server.namenode
Class INodeDirectoryAttributes.SnapshotCopy

java.lang.Object
  extended by org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy
      extended by org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.SnapshotCopy
All Implemented Interfaces:
org.apache.hadoop.hdfs.server.namenode.INodeAttributes, org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes
Direct Known Subclasses:
INodeDirectoryAttributes.CopyWithQuota
Enclosing interface:
org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes

public static class INodeDirectoryAttributes.SnapshotCopy
extends INodeAttributes.SnapshotCopy
implements org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes

A copy of the inode directory attributes


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes
INodeDirectoryAttributes.CopyWithQuota, INodeDirectoryAttributes.SnapshotCopy
 
Constructor Summary
INodeDirectoryAttributes.SnapshotCopy(byte[] name, org.apache.hadoop.fs.permission.PermissionStatus permissions, org.apache.hadoop.hdfs.server.namenode.AclFeature aclFeature, long modificationTime, org.apache.hadoop.hdfs.server.namenode.XAttrFeature xAttrsFeature)
           
INodeDirectoryAttributes.SnapshotCopy(INodeDirectory dir)
           
 
Method Summary
 Quota.Counts getQuotaCounts()
           
 boolean metadataEquals(org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes other)
           
 
Methods inherited from class org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy
getAccessTime, getAclFeature, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserName, getXAttrFeature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hdfs.server.namenode.INodeAttributes
getAccessTime, getAclFeature, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserName, getXAttrFeature
 

Constructor Detail

INodeDirectoryAttributes.SnapshotCopy

public INodeDirectoryAttributes.SnapshotCopy(byte[] name,
                                             org.apache.hadoop.fs.permission.PermissionStatus permissions,
                                             org.apache.hadoop.hdfs.server.namenode.AclFeature aclFeature,
                                             long modificationTime,
                                             org.apache.hadoop.hdfs.server.namenode.XAttrFeature xAttrsFeature)

INodeDirectoryAttributes.SnapshotCopy

public INodeDirectoryAttributes.SnapshotCopy(INodeDirectory dir)
Method Detail

getQuotaCounts

public Quota.Counts getQuotaCounts()
Specified by:
getQuotaCounts in interface org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes

metadataEquals

public boolean metadataEquals(org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes other)
Specified by:
metadataEquals in interface org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes


Copyright © 2014 Apache Software Foundation. All Rights Reserved.