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, long modificationTime)
           
INodeDirectoryAttributes.SnapshotCopy(INodeDirectory dir)
           
 
Method Summary
 long getDsQuota()
           
 long getNsQuota()
           
 boolean metadataEquals(org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes other)
           
 
Methods inherited from class org.apache.hadoop.hdfs.server.namenode.INodeAttributes.SnapshotCopy
getAccessTime, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserName
 
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, getFsPermission, getFsPermissionShort, getGroupName, getLocalNameBytes, getModificationTime, getPermissionLong, getUserName
 

Constructor Detail

INodeDirectoryAttributes.SnapshotCopy

public INodeDirectoryAttributes.SnapshotCopy(byte[] name,
                                             org.apache.hadoop.fs.permission.PermissionStatus permissions,
                                             long modificationTime)

INodeDirectoryAttributes.SnapshotCopy

public INodeDirectoryAttributes.SnapshotCopy(INodeDirectory dir)
Method Detail

getNsQuota

public long getNsQuota()
Specified by:
getNsQuota in interface org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes

getDsQuota

public long getDsQuota()
Specified by:
getDsQuota 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 © 2013 Apache Software Foundation. All Rights Reserved.