|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vrspace.server.RequestLog
Request log class, inteded not only for statistics but as transaction log.
Checkpoint
Constructor Summary | |
RequestLog(java.lang.String file)
Creates new RequestLog, writing to file |
Method Summary | |
protected void |
flush()
Flush the log |
protected static void |
logRequest(Request r)
Adds new request to the RequestLog |
protected void |
restart()
Start new log |
void |
run()
internaly used for asyncronous log writing |
protected void |
stop()
Stops the logging |
java.lang.String |
toString()
Returns String representation of RequestLog, using Request.toString() Called by flush() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RequestLog(java.lang.String file) throws java.io.IOException
Method Detail |
protected static void logRequest(Request r)
public java.lang.String toString()
protected void stop()
protected void flush() throws java.io.IOException
java.io.IOException
protected void restart() throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |