Revision 56601
Added by Katerina Iatropoulou almost 5 years ago
SearchServiceBlackboardHandler.java | ||
---|---|---|
53 | 53 |
String action = job.getAction(); |
54 | 54 |
|
55 | 55 |
try { |
56 |
getBlackboardHandler().ongoing(job);
|
|
56 |
getBlackboardHandler().ongoing(job);
|
|
57 | 57 |
|
58 | 58 |
if (action.equals("UpdateIndex")) { |
59 | 59 |
String indexProfileId = job.getParameters().get("IndexId"); |
... | ... | |
75 | 75 |
throw new Exception("Don't know what to do with " + action); |
76 | 76 |
} |
77 | 77 |
|
78 |
getBlackboardHandler().done(job);
|
|
78 |
getBlackboardHandler().done(job);
|
|
79 | 79 |
} catch (Exception e) { |
80 |
getBlackboardHandler().failed(job, e);
|
|
80 |
getBlackboardHandler().failed(job, e);
|
|
81 | 81 |
|
82 | 82 |
logger.error("Error processing job", e); |
83 | 83 |
} |
... | ... | |
155 | 155 |
public void setSearchService(SearchServiceImpl searchService) { |
156 | 156 |
this.searchService = searchService; |
157 | 157 |
} |
158 |
} |
|
158 |
} |
Also available in: Unified diff
Adding metrics with micrometer