public class CycWorkerQueue extends Object
CycWorkerQueue is designed to execute multiple CycWorker instances serially, in first-in, first-out order. Each worker will run until its thread dies.
|Constructor and Description|
Creates a new instance of CycWorkerQueue.
Creates a new instance of CycWorkerQueue whose thread has the given name.
|Modifier and Type||Method and Description|
Set worker to be started as soon as all previously enqueued workers are done.
public CycWorkerQueue(String name)
public void enqueue(CycWorker worker)
Copyright © 2013–2018 Cycorp, Inc. All rights reserved.