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 DBCommandQueueLogger
get()
gets the command queuevoid
logQueueSize(DBCommandQueue queue)
logs the complete queuevoid
startLogging(String filename)
start loggingvoid
stop 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
-