|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.martiansoftware.nailgun.NailStats
public class NailStats
Collects and provides statistics on a nail.
Method Summary | |
---|---|
Object |
clone()
Creates a copy of this NailStats object. |
boolean |
equals(Object o)
Returns true iff the specified NailStats object
is tracking the same class. |
Class |
getNailClass()
Returns the class for which we're tracking statistics |
long |
getRefCount()
Returns the number of sessions currently running this nail. |
long |
getRunCount()
Returns the number of times this nail has been run. |
int |
hashCode()
|
String |
toString()
Returns a String representation of this NailStats
object, in the form "classname: runcount/refcount". |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public long getRunCount()
public long getRefCount()
public Class getNailClass()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object o)
NailStats
object
is tracking the same class.
equals
in class Object
o
- the NailStats object to check
NailStats
object
is tracking the same class.public Object clone()
NailStats
object.
clone
in class Object
NailStats
object.public String toString()
NailStats
object, in the form "classname: runcount/refcount".
*return a String representation of this NailStats
object.
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |