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

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

public static class INodeDirectoryAttributes.CopyWithQuota
extends INodeDirectoryAttributes.SnapshotCopy


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes
INodeDirectoryAttributes.CopyWithQuota, INodeDirectoryAttributes.SnapshotCopy
 
Constructor Summary
INodeDirectoryAttributes.CopyWithQuota(byte[] name, org.apache.hadoop.fs.permission.PermissionStatus permissions, long modificationTime, long nsQuota, long dsQuota)
           
INodeDirectoryAttributes.CopyWithQuota(INodeDirectory dir)
           
 
Method Summary
 long getDsQuota()
           
 long getNsQuota()
           
 
Methods inherited from class org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes.SnapshotCopy
metadataEquals
 
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.CopyWithQuota

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

INodeDirectoryAttributes.CopyWithQuota

public INodeDirectoryAttributes.CopyWithQuota(INodeDirectory dir)
Method Detail

getNsQuota

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

getDsQuota

public final long getDsQuota()
Specified by:
getDsQuota in interface org.apache.hadoop.hdfs.server.namenode.INodeDirectoryAttributes
Overrides:
getDsQuota in class INodeDirectoryAttributes.SnapshotCopy


Copyright © 2013 Apache Software Foundation. All Rights Reserved.