Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Restarting jobs in producer supervision
[nonrtric.git]
/
enrichment-coordinator-service
/
src
/
main
/
java
/
org
/
oransc
/
enrichment
/
repository
/
EiProducer.java
diff --git
a/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/repository/EiProducer.java
b/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/repository/EiProducer.java
index
d5423ae
..
d8b2015
100644
(file)
--- a/
enrichment-coordinator-service/src/main/java/org/oransc/enrichment/repository/EiProducer.java
+++ b/
enrichment-coordinator-service/src/main/java/org/oransc/enrichment/repository/EiProducer.java
@@
-75,7
+75,10
@@
public class EiProducer {
this.enabledJobs.remove(job.getId());
}
- synchronized boolean isJobEnabled(EiJob job) {
+ /**
+ * Is the job enabled for this producer?
+ */
+ public synchronized boolean isJobEnabled(EiJob job) {
return this.enabledJobs.contains(job.getId());
}