|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrabbit.util.Counter
public class 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.Set<java.lang.String> |
keys()
Get all events |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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.Set<java.lang.String> keys()
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 |