mirror of https://github.com/apache/lucene.git
SOLR-10607: Improve RTimerTree documentation
This commit is contained in:
parent
5eb4a8d71b
commit
2af2b55e2d
|
@ -51,9 +51,10 @@ public class RTimerTree extends RTimer {
|
||||||
return new RTimerTree();
|
return new RTimerTree();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Create new subtimer with given name
|
/**
|
||||||
*
|
* Returns a subtimer given its name.
|
||||||
* Subtimer will be started.
|
* If the subtimer did not exist a new subtimer will be started and returned,
|
||||||
|
* otherwise an existing subtimer will be returned as-is.
|
||||||
*/
|
*/
|
||||||
public RTimerTree sub(String desc) {
|
public RTimerTree sub(String desc) {
|
||||||
RTimerTree child = children.get( desc );
|
RTimerTree child = children.get( desc );
|
||||||
|
|
Loading…
Reference in New Issue