org.apache.hadoop.hdfs.server.namenode
Class Quota.Counts

java.lang.Object
  extended by org.apache.hadoop.hdfs.util.EnumCounters<Quota>
      extended by org.apache.hadoop.hdfs.server.namenode.Quota.Counts
Enclosing class:
Quota

public static class Quota.Counts
extends EnumCounters<Quota>

Counters for quota counts.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hdfs.util.EnumCounters
EnumCounters.Factory<E extends Enum<E>,C extends EnumCounters<E>>, EnumCounters.Map<K,E extends Enum<E>,C extends EnumCounters<E>>
 
Method Summary
static Quota.Counts newInstance()
           
static Quota.Counts newInstance(long namespace, long diskspace)
           
 
Methods inherited from class org.apache.hadoop.hdfs.util.EnumCounters
add, add, equals, get, hashCode, negation, reset, set, set, subtract, subtract, sum, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

newInstance

public static Quota.Counts newInstance(long namespace,
                                       long diskspace)
Returns:
a new counter with the given namespace and diskspace usages.

newInstance

public static Quota.Counts newInstance()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.