T
- type of value in queuepublic class GraphUpdater<T> extends Object
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
GraphUpdater(String workerName,
Thread invokingThread,
org.opentrafficsim.draw.graphs.GraphUpdater.Updater<T> updater)
Constructs and starts a thread that performs each given task from a queue.
|
public GraphUpdater(String workerName, Thread invokingThread, org.opentrafficsim.draw.graphs.GraphUpdater.Updater<T> updater)
workerName
- String; name for the working threadinvokingThread
- Thread; invoking thread, the worker will stop when this thread is interruptedupdater
- Updater<T>; updater to perform with the queued valueCopyright © 2014–2019 Delft University of Technology. All rights reserved.