protected abstract class QueueingSearchExecutor.AbstractHandler extends Object
Modifier and Type | Field and Description |
---|---|
private BlockingQueue<QueueingSearchExecutor.SearchItem> |
queue
Blocking queue to put items on.
|
Constructor and Description |
---|
AbstractHandler(BlockingQueue<QueueingSearchExecutor.SearchItem> q)
Creates a new abstract handler.
|
Modifier and Type | Method and Description |
---|---|
protected void |
insert(QueueingSearchExecutor.SearchItem item)
Places the supplied item on the blocking queue.
|
private final BlockingQueue<QueueingSearchExecutor.SearchItem> queue
public AbstractHandler(BlockingQueue<QueueingSearchExecutor.SearchItem> q)
q
- blocking queue to put items onprotected void insert(QueueingSearchExecutor.SearchItem item)
item
- to insertCopyright © 2003-2019 Virginia Tech. All Rights Reserved.