Révision 2607
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 2607) | ||
---|---|---|
2333 | 2333 |
|
2334 | 2334 |
// FIXME: SJ: Debug tests |
2335 | 2335 |
boolean debugSlowingProcess = false; |
2336 |
int sleepDuration = 500;
|
|
2336 |
int sleepDuration = 10000;
|
|
2337 | 2337 |
|
2338 | 2338 |
// skip the process if the result is already in computing stage |
2339 | 2339 |
if (this.computing) { |
... | ... | |
2537 | 2537 |
Log.info(this.getComputingDoneMessage()); |
2538 | 2538 |
} |
2539 | 2539 |
|
2540 |
// monitor log |
|
2541 |
mainSubMonitor.subTask(this.getComputingDoneMessage()); |
|
2542 |
mainSubMonitor.done(); |
|
2543 | 2540 |
|
2544 | 2541 |
// delete the monitor used by subclasses computation method |
2545 | 2542 |
if (this.monitor != null) { |
2546 | 2543 |
this.monitor.done(); |
2544 |
this.monitor = null; |
|
2547 | 2545 |
} |
2548 |
this.monitor = null; |
|
2549 | 2546 |
|
2550 | 2547 |
this.computing = false; |
2551 | 2548 |
|
2549 |
// monitor log |
|
2550 |
mainSubMonitor.subTask(this.getComputingDoneMessage()); |
|
2551 |
mainSubMonitor.done(); |
|
2552 |
|
|
2552 | 2553 |
return true; |
2553 | 2554 |
} |
2554 | 2555 |
|
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Partition.java (revision 2607) | ||
---|---|---|
133 | 133 |
this.userName = "no_name"; |
134 | 134 |
} |
135 | 135 |
|
136 |
Log.fine(NLS.bind(SearchEngineCoreMessages.info_creatingNewPartition, this.getParent(), this.userName));
|
|
136 |
Log.finest(NLS.bind(SearchEngineCoreMessages.info_creatingNewPartition, this.userName, this.getParent()));
|
|
137 | 137 |
long start = System.currentTimeMillis(); |
138 | 138 |
|
139 | 139 |
this.setTask("Building parts..."); |
... | ... | |
179 | 179 |
this.userName = corpus.getName() + "_" + pProperty.getFullName(); //$NON-NLS-1$ |
180 | 180 |
} |
181 | 181 |
|
182 |
Log.finest(NLS.bind(SearchEngineCoreMessages.info_creatingNewPartition, this.userName, this.getParent())); |
|
183 |
|
|
184 |
|
|
182 | 185 |
if (pValues == null) { |
183 | 186 |
pValues = pProperty.getValues(corpus); |
184 | 187 |
} |
... | ... | |
255 | 258 |
// create the parts only if they not already exist |
256 | 259 |
if (this.getParts().size() == 0) { |
257 | 260 |
|
258 |
Log.finest(NLS.bind(SearchEngineCoreMessages.info_creatingNewPartition, this.getParent(), this.userName)); |
|
259 |
|
|
260 | 261 |
if (this.pProperty != null) { |
261 | 262 |
_compute_with_property(); |
262 | 263 |
} |
Formats disponibles : Unified diff