Package org.elasticsearch.common
Class StopWatch.TaskInfo
java.lang.Object
org.elasticsearch.common.StopWatch.TaskInfo
- Enclosing class:
- StopWatch
public static class StopWatch.TaskInfo
extends java.lang.Object
Inner class to hold data about one task executed within the stop watch.
-
Method Summary
Modifier and Type Method Description java.lang.String
getTaskName()
Return the name of this task.org.elasticsearch.common.unit.TimeValue
getTime()
Return the time this task took.
-
Method Details
-
getTaskName
public java.lang.String getTaskName()Return the name of this task. -
getTime
public org.elasticsearch.common.unit.TimeValue getTime()Return the time this task took.
-