org.apache.commons.monitoring.counters
Class Counter.Key

java.lang.Object
  extended by org.apache.commons.monitoring.counters.Counter.Key
Enclosing interface:
Counter

public static class Counter.Key
extends Object


Constructor Summary
Counter.Key(Role role, String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 Role getRole()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Counter.Key

public Counter.Key(Role role,
                   String name)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getName

public String getName()

getRole

public Role getRole()


Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.