Class DBCommandQueueLogger

java.lang.Object
marauroa.server.db.command.DBCommandQueueLogger

public class DBCommandQueueLogger extends Object
logging of database commands with timestamps
  • Method Details

    • get

      public static DBCommandQueueLogger get()
      gets the command queue
      Returns:
      DBCommandQueueLogger
    • stopLogging

      public void stopLogging()
      stop logging
    • startLogging

      public void startLogging(String filename)
      start logging
      Parameters:
      filename - filename to log to
    • logQueueSize

      public void logQueueSize(DBCommandQueue queue)
      logs the complete queue
      Parameters:
      queue - queue