| |
|
| java.lang.Object com.martiansoftware.nailgun.NailStats
Method Summary | |
public Object | clone() Creates a copy of this NailStats object. | public boolean | equals(Object o) Returns true iff the specified NailStats object
is tracking the same class. | public Class | getNailClass() | public long | getRefCount() Returns the number of sessions currently running this nail. | public long | getRunCount() Returns the number of times this nail has been run. | public int | hashCode() | void | nailFinished() | void | nailStarted() | public String | toString() Returns a String representation of this NailStats
object, in the form "classname: runcount/refcount".
return a String representation of this NailStats
object. |
NailStats | NailStats(Class nailclass)(Code) | | Creates a new NailStats object for the specified class
Parameters: nailclass - the class for which we'll collect statistics |
clone | public Object clone()(Code) | | Creates a copy of this NailStats object.
a copy of this NailStats object. |
equals | public boolean equals(Object o)(Code) | | Returns true iff the specified NailStats object
is tracking the same class.
Parameters: o - the NailStats object to check true iff the specified NailStats objectis tracking the same class. |
getNailClass | public Class getNailClass()(Code) | | Returns the class for which we're tracking statistics
the class for which we're tracking statistics |
getRefCount | public long getRefCount()(Code) | | Returns the number of sessions currently running this nail.
the number of sessions currently running this nail. |
getRunCount | public long getRunCount()(Code) | | Returns the number of times this nail has been run. Nails
that have started but not yet finished are included in this
number.
the number of times this nail has been run. |
nailFinished | void nailFinished()(Code) | | Logs the fact that an instance of this nail has finished
|
nailStarted | void nailStarted()(Code) | | Logs the fact that an instance of this nail has started
|
toString | public String toString()(Code) | | Returns a String representation of this NailStats
object, in the form "classname: runcount/refcount".
return a String representation of this NailStats
object.
|
|
|
|