Class QueueManager

java.lang.Object
org.reprogle.honeypot.storagemanager.queue.QueueManager

public class QueueManager extends Object
A class to manage the PreparedStatement queues. Utilizes a custom queue, see ListenableQueue
See Also:
  • Method Details

    • getInstance

      public static QueueManager getInstance()
      Returns the QueueManager instance
      Returns:
      QueueManager
    • addToQueue

      public boolean addToQueue(PreparedStatement ps)
      A simple function that adds a PreparedStatement to the queue.
      Parameters:
      ps - A prepared statement to add to the queue
      Returns:
      True if successfully added, false if not