Class QueueManager
java.lang.Object
org.reprogle.honeypot.common.storagemanager.queue.QueueManager
A class to manage the PreparedStatement queues.
Utilizes a custom queue, see
ListenableQueue- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanA simple function that adds a PreparedStatement to the queue.static QueueManagerReturns the QueueManager instance
-
Method Details
-
getInstance
Returns the QueueManager instance- Returns:
QueueManager
-
addToQueue
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
-