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:
Lennart Hensler committed 2014-04-03 17:34:55 +02:00
1 parent 62267515c4
commit 6fb6345ee9
15 files changed
+89 -2

No files matched your search

@@ -166,6 +166,9 @@ public class TestProcessorQuery {
receivedElementOrFinished = true;
}
@Override
public void onFailure(Throwable failure) {
}
@Override
public void finish() throws InterruptedException {
receivedElementOrFinished = true;
}
@@ -57,6 +57,9 @@ public class TestAbstractFilteringRetrievalProcessor {
}
}
@Override
public void onFailure(Throwable failure) {
}
@Override
public void finish() throws InterruptedException {
}
@Override
@@ -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;
}
@@ -29,6 +29,9 @@ public class TestAbstractParallelProcessorWithManySimpleInstructions {
incrementSum(element);
}
@Override
public void onFailure(Throwable failure) {
}
@Override
public void finish() throws InterruptedException {
receiverWasToldToFinish = true;
}
@@ -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;
}
@@ -97,6 +97,9 @@ public class TestFilteringProcessors {
receivedElements.put(element, elementAmount);
}
@Override
public void onFailure(Throwable failure) {
}
@Override
public void finish() throws InterruptedException {
}
@Override
@@ -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
@@ -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() { }
@@ -31,6 +31,9 @@ public class TestAbstractStoringParallelAggregationProcessor {
receivedElement = element;
}
@Override
public void onFailure(Throwable failure) {
}
@Override
public void finish() throws InterruptedException {
receiverWasToldToFinish = true;
}
@@ -184,6 +184,9 @@ public class TestParallelDoubleAggregationProcessors {
receivedAggregations = element;
}
@Override
public void onFailure(Throwable failure) {
}
@Override
public void finish() throws InterruptedException {
}
@Override