| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrabbit.util.Counter
This class counts different messages
| Constructor Summary | |
| Counter() | |
| Method Summary | |
|  int | get(java.lang.String key)get the current count for an event. | 
|  void | inc(java.lang.String log)increase a logentry. | 
|  java.util.Enumeration | keys()get all events | 
|  java.util.Enumeration | values()get all values (unsorted) | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Counter()
| Method Detail | 
public void inc(java.lang.String log)
log - the event to increasepublic java.util.Enumeration keys()
public java.util.Enumeration values()
public int get(java.lang.String key)
key - the event were intrested in
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||