Cloneablepublic class NailStats extends Object implements Cloneable
Collects and provides statistics on a nail.
| Modifier and Type | Method | Description |
|---|---|---|
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". |
public long getRunCount()
public long getRefCount()
public Class getNailClass()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object o)
NailStats object
is tracking the same class.public Object clone()
NailStats object.Copyright © 2019. All rights reserved.