|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectParkNPark.common.LogEntry
public class LogEntry
Contains a single log entry
| Field Summary | |
|---|---|
protected boolean |
logEntryFinished
Whether or not this log entry is finished |
protected long |
probeIn
Time that method call began |
protected String |
probeMethod
Method name |
protected long |
probeOut
Time that method call completed |
protected String |
probeSource
Client name |
| Constructor Summary | |
|---|---|
LogEntry()
|
|
| Method Summary | |
|---|---|
long |
getProbeIn()
Returns the starting time of this method call |
String |
getProbeMethod()
Returns the name of the method |
long |
getProbeOut()
Returns the ending time of this method call |
String |
getProbeSource()
Returns the client name of the method call |
boolean |
isLogEntryFinished()
Returns true if this log entry is finished or false if it is not |
void |
markLogEntryAsFinished()
Marks this LogEntry as finished, which means that it is ready to be written to the log files |
void |
setProbeIn(long probeIn)
Sets the starting time of the method call |
void |
setProbeMethod(String probeMethod)
Sets the name of the method being probed |
void |
setProbeOut(long probeOut)
Sets the completed time of the method call |
void |
setProbeSource(String probeSource)
Sets the client name of the method call |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected long probeIn
protected long probeOut
protected String probeMethod
protected String probeSource
protected boolean logEntryFinished
| Constructor Detail |
|---|
public LogEntry()
| Method Detail |
|---|
public void setProbeIn(long probeIn)
probeIn - The method call starting time to usepublic void setProbeMethod(String probeMethod)
probeMethod - The name of the method being probedpublic void setProbeOut(long probeOut)
probeOut - The completed time of the method callpublic void setProbeSource(String probeSource)
probeSource - The client name of the method callpublic long getProbeIn()
public String getProbeMethod()
public long getProbeOut()
public String getProbeSource()
public boolean isLogEntryFinished()
public void markLogEntryAsFinished()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||