mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-02 17:19:37 +00:00
Errors during the data mining are now forwarded and logged
This improves the visibilities of failures, because they aren't hided by the multithreading anymore.
This commit is contained in:
1 parent
62267515c4
commit
6fb6345ee9
15 files changed
+89
-2
No files matched your search
+3
@@ -166,6 +166,9 @@ public class TestProcessorQuery {
|
||||
receivedElementOrFinished = true;
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Throwable failure) {
|
||||
}
|
||||
@Override
|
||||
public void finish() throws InterruptedException {
|
||||
receivedElementOrFinished = true;
|
||||
}
|
||||
|
||||
+3
@@ -57,6 +57,9 @@ public class TestAbstractFilteringRetrievalProcessor {
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Throwable failure) {
|
||||
}
|
||||
@Override
|
||||
public void finish() throws InterruptedException {
|
||||
}
|
||||
@Override
|
||||
|
||||
+2
@@ -52,6 +52,8 @@ public class TestAbstractParallelProcessorFinishing {
|
||||
@Override
|
||||
public void onElement(Integer element) { }
|
||||
@Override
|
||||
public void onFailure(Throwable failure) { }
|
||||
@Override
|
||||
public void finish() throws InterruptedException {
|
||||
receiverWasToldToFinish = true;
|
||||
}
|
||||
|
||||
+3
@@ -29,6 +29,9 @@ public class TestAbstractParallelProcessorWithManySimpleInstructions {
|
||||
incrementSum(element);
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Throwable failure) {
|
||||
}
|
||||
@Override
|
||||
public void finish() throws InterruptedException {
|
||||
receiverWasToldToFinish = true;
|
||||
}
|
||||
|
||||
+3
@@ -24,6 +24,9 @@ public class TestAbstractProcessor {
|
||||
public void onElement(Integer element) {
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Throwable failure) {
|
||||
}
|
||||
@Override
|
||||
public void finish() throws InterruptedException {
|
||||
receiverWasToldToFinish = true;
|
||||
}
|
||||
|
||||
+3
@@ -97,6 +97,9 @@ public class TestFilteringProcessors {
|
||||
receivedElements.put(element, elementAmount);
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Throwable failure) {
|
||||
}
|
||||
@Override
|
||||
public void finish() throws InterruptedException {
|
||||
}
|
||||
@Override
|
||||
|
||||
+3
@@ -45,6 +45,9 @@ public class TestParallelExtractionProcessor {
|
||||
receivedValues.put(element.getKey(), element.getDataEntry());
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Throwable failure) {
|
||||
}
|
||||
@Override
|
||||
public void finish() throws InterruptedException {
|
||||
}
|
||||
@Override
|
||||
|
||||
+2
@@ -37,6 +37,8 @@ public class TestParallelMultiDimensionalGroupingProcessor {
|
||||
groupedElement = element;
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Throwable failure) { }
|
||||
@Override
|
||||
public void finish() throws InterruptedException { }
|
||||
@Override
|
||||
public void abort() { }
|
||||
|
||||
+3
@@ -31,6 +31,9 @@ public class TestAbstractStoringParallelAggregationProcessor {
|
||||
receivedElement = element;
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Throwable failure) {
|
||||
}
|
||||
@Override
|
||||
public void finish() throws InterruptedException {
|
||||
receiverWasToldToFinish = true;
|
||||
}
|
||||
|
||||
+3
@@ -184,6 +184,9 @@ public class TestParallelDoubleAggregationProcessors {
|
||||
receivedAggregations = element;
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Throwable failure) {
|
||||
}
|
||||
@Override
|
||||
public void finish() throws InterruptedException {
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user