Revision cc7c531b
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/util/ProgressMonitorClientManager.java | ||
---|---|---|
113 | 113 |
Thread.sleep(pollInterval); |
114 | 114 |
remotingMonitor = progressMonitorService.getRemotingMonitor(uuid); |
115 | 115 |
// check if remoting monitor is waiting for feedback |
116 |
if(remotingMonitor.isWaitingForFeedback()) {
|
|
116 |
if(remotingMonitor.getIsWaitingForFeedback()) {
|
|
117 | 117 |
if(feedbackGenerators != null) { |
118 | 118 |
// if we have run out of feedback generators while |
119 | 119 |
// the remoting monitor is waiting on feedback |
... | ... | |
121 | 121 |
if(feedbackCount + 1 > feedbackGenerators.size()) { |
122 | 122 |
throw new IllegalStateException("Remoting monitor waiting on feedback that does not exist"); |
123 | 123 |
} |
124 |
progressMonitorService.setFeedback(uuid, feedbackGenerators.get(feedbackCount).generateFeedback());
|
|
124 |
feedbackGenerators.get(feedbackCount).setFeedbackForMonitor(uuid);
|
|
125 | 125 |
feedbackCount++; |
126 | 126 |
} |
127 | 127 |
} |
Also available in: Unified diff
#5297 Implement client side remoting progress monitor feedback mechanism, Add test for monitor feedback timeout
#5297 Add test for monitor feedback timeout