|
@@ -80,20 +80,30 @@ public class OutputQueue {
|
80
|
80
|
* If this is called before the first lien of output is queued then there is
|
81
|
81
|
* no need to disable and reenable the queue.
|
82
|
82
|
*
|
83
|
|
- * @param manager New QueueFactory to use.
|
|
83
|
+ * @param factory New QueueFactory to use.
|
84
|
84
|
*/
|
85
|
|
- public void setQueueManager(final QueueFactory manager) {
|
86
|
|
- queueFactory = manager;
|
|
85
|
+ public void setQueueFactory(final QueueFactory factory) {
|
|
86
|
+ queueFactory = factory;
|
87
|
87
|
}
|
88
|
88
|
|
89
|
89
|
/**
|
90
|
90
|
* Get the QueueFactory.
|
|
91
|
+ *
|
91
|
92
|
* @return The current QueueFactory.
|
92
|
93
|
*/
|
93
|
94
|
public QueueFactory getQueueManager() {
|
94
|
95
|
return queueFactory;
|
95
|
96
|
}
|
96
|
97
|
|
|
98
|
+ /**
|
|
99
|
+ * Get the QueueHandler.
|
|
100
|
+ *
|
|
101
|
+ * @return The current QueueHandler if there is one, else null.
|
|
102
|
+ */
|
|
103
|
+ public QueueHandler getQueueHandler() {
|
|
104
|
+ return queueHandler;
|
|
105
|
+ }
|
|
106
|
+
|
97
|
107
|
/**
|
98
|
108
|
* Set if queueing is enabled.
|
99
|
109
|
* if this is changed from enabled to disabled, all currently queued items
|