org.dozer.stats
Class StatisticEntry

java.lang.Object
  extended by org.dozer.stats.StatisticEntry

public class StatisticEntry
extends Object

Internal class that represents one entry in the statistic. Holds the statistic value and unique key for lookup. Entry counter is based on AtomicLong and is Thread Safe. Only intended for internal use.

Author:
tierney.matt, dmitry.buzdin

Constructor Summary
StatisticEntry(Object key)
           
 
Method Summary
 boolean equals(Object object)
           
 Object getKey()
           
 long getValue()
           
 int hashCode()
           
 void increment(long value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatisticEntry

public StatisticEntry(Object key)
Method Detail

getKey

public Object getKey()

getValue

public long getValue()

increment

public void increment(long value)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2011 dozer. All Rights Reserved.