org.polliwog.data
Class MultiCounter

java.lang.Object
  extended by org.polliwog.data.MultiCounter

public class MultiCounter
extends java.lang.Object


Constructor Summary
MultiCounter(java.lang.Object d)
           
 
Method Summary
 void decrement()
           
 void decrement(long c)
           
 void decrement(java.lang.String id)
           
 void decrement(java.lang.String id, long c)
           
 long getCount(java.lang.String id)
           
 java.util.Map getCounts()
           
 java.lang.Object getData()
           
 void increment()
           
 void increment(long c)
           
 void increment(java.lang.String id)
           
 void increment(java.lang.String id, java.util.Date from, java.util.Date to)
           
 void increment(java.lang.String id, long c)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiCounter

public MultiCounter(java.lang.Object d)
Method Detail

getCounts

public java.util.Map getCounts()

decrement

public void decrement(java.lang.String id,
                      long c)

decrement

public void decrement(long c)

decrement

public void decrement()

increment

public void increment(java.lang.String id,
                      long c)

increment

public void increment(java.lang.String id,
                      java.util.Date from,
                      java.util.Date to)

decrement

public void decrement(java.lang.String id)

increment

public void increment(java.lang.String id)

increment

public void increment(long c)

increment

public void increment()

getCount

public long getCount(java.lang.String id)

getData

public java.lang.Object getData()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


  Copyright © 2007 Gary Bentley. All Rights Reserved.