At last the EntityBatchingProducerNode is working. This will replace the old
[mir.git] / source / mircoders / global / JobQueue.java
index 2d57888..041094d 100755 (executable)
@@ -97,6 +97,10 @@ public class JobQueue {
       return getStatus() == STATUS_PROCESSED;
     }
 
+    public boolean isPending() {
+      return getStatus() == STATUS_PENDING;
+    }
+
     private boolean setStatus(int anOldStatus, int aNewStatus) {
       synchronized(this) {
         if (status == anOldStatus) {