Package marauroa.server.db.command
Class DBCommandQueueLogger
java.lang.Object
marauroa.server.db.command.DBCommandQueueLogger
logging of database commands with timestamps
-
Method Summary
Modifier and TypeMethodDescriptionstatic DBCommandQueueLoggerget()gets the command queuevoidlogQueueSize(DBCommandQueue queue)logs the complete queuevoidstartLogging(String filename)start loggingvoidstop logging
-
Method Details
-
get
gets the command queue- Returns:
- DBCommandQueueLogger
-
stopLogging
public void stopLogging()stop logging -
startLogging
start logging- Parameters:
filename- filename to log to
-
logQueueSize
logs the complete queue- Parameters:
queue- queue
-