public class MonitorData extends Object
Constructor and Description |
---|
MonitorData(String wikiPage,
String action,
URL url,
String threadName) |
Modifier and Type | Method and Description |
---|---|
void |
endRequest() |
void |
endRequest(boolean normal) |
void |
endTimer(String timername) |
String |
getAction() |
long |
getDuration() |
long |
getDuration(String timer) |
Date |
getEndTime() |
long |
getNbCalls(String timer) |
Date |
getStartTime() |
String |
getThreadName() |
List<MonitorTimer> |
getTimerList() |
Map<String,MonitorTimerSummary> |
getTimerSummaries() |
URL |
getURL() |
String |
getWikiPage() |
void |
log() |
void |
setAction(String action) |
void |
setEndTime(Date endTime) |
void |
setStartTime(Date startTime) |
void |
setThreadName(String threadName) |
void |
setTimerDetails(String timername,
String details) |
void |
setURL(URL url) |
void |
setWikiPage(String page) |
void |
startRequest(String page,
URL url) |
void |
startTimer(String timername) |
void |
startTimer(String timername,
String details) |
String |
toString() |
public void endRequest()
public void endRequest(boolean normal)
public URL getURL()
public void setURL(URL url)
public String getWikiPage()
public void setWikiPage(String page)
public Date getStartTime()
public void setStartTime(Date startTime)
public Date getEndTime()
public void setEndTime(Date endTime)
public long getDuration()
public long getDuration(String timer)
public void startTimer(String timername)
public void endTimer(String timername)
public List<MonitorTimer> getTimerList()
public Map<String,MonitorTimerSummary> getTimerSummaries()
public void log()
public String getThreadName()
public void setThreadName(String threadName)
public long getNbCalls(String timer)
public String getAction()
public void setAction(String action)
Copyright © 2004–2022 XWiki. All rights reserved.