WorkQueue: Add comment on additional constructor
Add a comment to clarify why the additional constructor is needed, to avoid anyone attempting to remove it in future. Change-Id: I724bb87409d39b30ac699299b7571b956cd0fddb
This commit is contained in:
		@@ -92,6 +92,7 @@ public class WorkQueue {
 | 
				
			|||||||
    this(idGenerator, cfg.getInt("execution", "defaultThreadPoolSize", 1));
 | 
					    this(idGenerator, cfg.getInt("execution", "defaultThreadPoolSize", 1));
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /** Constructor to allow binding the WorkQueue more explicitly in a vhost setup. */
 | 
				
			||||||
  public WorkQueue(IdGenerator idGenerator, int defaultThreadPoolSize) {
 | 
					  public WorkQueue(IdGenerator idGenerator, int defaultThreadPoolSize) {
 | 
				
			||||||
    this.idGenerator = idGenerator;
 | 
					    this.idGenerator = idGenerator;
 | 
				
			||||||
    this.queues = new CopyOnWriteArrayList<>();
 | 
					    this.queues = new CopyOnWriteArrayList<>();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user