projects
/
mir.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
At last the EntityBatchingProducerNode is working. This will replace the old
[mir.git]
/
source
/
mircoders
/
global
/
JobQueue.java
diff --git
a/source/mircoders/global/JobQueue.java
b/source/mircoders/global/JobQueue.java
index
2d57888
..
041094d
100755
(executable)
--- a/
source/mircoders/global/JobQueue.java
+++ b/
source/mircoders/global/JobQueue.java
@@
-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) {