org.kuali.student.common.ui.client.mvc
Class WorkQueue

java.lang.Object
  extended by org.kuali.student.common.ui.client.mvc.WorkQueue

public class WorkQueue
extends Object


Nested Class Summary
static class WorkQueue.WorkItem
           
 
Field Summary
private  Callback<Boolean> onCompleteCallback
           
private  LinkedList<WorkQueue.WorkItem> queue
           
private  boolean running
           
 
Constructor Summary
WorkQueue()
           
 
Method Summary
 void clear()
           
 boolean isRunning()
           
private  void processNext()
           
 void submit(WorkQueue.WorkItem item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

running

private boolean running

queue

private final LinkedList<WorkQueue.WorkItem> queue

onCompleteCallback

private final Callback<Boolean> onCompleteCallback
Constructor Detail

WorkQueue

public WorkQueue()
Method Detail

clear

public void clear()

isRunning

public boolean isRunning()

processNext

private void processNext()

submit

public void submit(WorkQueue.WorkItem item)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.