|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.web.monitor.Request
public class Request
Represents a web request. An instance of this class normally has a 1-1 mapping to a ServletRequest.
Constructor Summary | |
---|---|
Request(long startNanos,
String threadName)
Creates a new Request. |
Method Summary | |
---|---|
long |
getRunningTime()
Returns the running time of this request in nanoseconds. |
String |
getThreadName()
Returns the name of the thread that is servicing the request. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Request(long startNanos, String threadName)
startNanos
- the time when this request was startedthreadName
- a String containing the name of the thread that is servicing the requestMethod Detail |
---|
public long getRunningTime()
public String getThreadName()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |