X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.common%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fcommon%2Fprocessor%2FProcessorBase.java;fp=bundles%2Forg.simantics.db.common%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fcommon%2Fprocessor%2FProcessorBase.java;h=62c359ff35cb31d536338d85e1a3e5982af52362;hb=6326b65c5c6a785aadcb615cb95ceadd8f53964a;hp=6e1aeabaae4d3b47a8a3624e73c2e64a366c8854;hpb=6d56f5ff3422fd5200d396d325422a4ccaf19f94;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.common/src/org/simantics/db/common/processor/ProcessorBase.java b/bundles/org.simantics.db.common/src/org/simantics/db/common/processor/ProcessorBase.java index 6e1aeabaa..62c359ff3 100644 --- a/bundles/org.simantics.db.common/src/org/simantics/db/common/processor/ProcessorBase.java +++ b/bundles/org.simantics.db.common/src/org/simantics/db/common/processor/ProcessorBase.java @@ -14,7 +14,7 @@ package org.simantics.db.common.processor; import java.util.Collection; import java.util.function.Consumer; -import org.simantics.db.RequestProcessor; +import org.simantics.db.AsyncRequestProcessor; import org.simantics.db.Resource; import org.simantics.db.Session; import org.simantics.db.exception.DatabaseException; @@ -44,7 +44,7 @@ import org.simantics.db.request.WriteOnly; import org.simantics.db.request.WriteOnlyResult; import org.simantics.db.request.WriteResult; -public class ProcessorBase implements RequestProcessor { +public class ProcessorBase implements AsyncRequestProcessor { @Override public void asyncRequest(AsyncMultiRead request, AsyncMultiProcedure procedure) { @@ -173,11 +173,6 @@ public class ProcessorBase implements RequestProcessor { throw new UnsupportedOperationException(); } - @Override - public Collection syncRequest(MultiRead request, AsyncMultiProcedure procedure) { - throw new UnsupportedOperationException(); - } - @Override public Collection syncRequest(MultiRead request, MultiProcedure procedure) { throw new UnsupportedOperationException(); @@ -193,11 +188,6 @@ public class ProcessorBase implements RequestProcessor { throw new UnsupportedOperationException(); } - @Override - public void asyncRequest(MultiRead request, AsyncMultiProcedure procedure) { - throw new UnsupportedOperationException(); - } - @Override public void asyncRequest(MultiRead request, MultiProcedure procedure) { throw new UnsupportedOperationException(); @@ -313,10 +303,10 @@ public class ProcessorBase implements RequestProcessor { throw new UnsupportedOperationException(); } - @Override +/* @Override public Collection syncRequest(MultiRead arg0, AsyncMultiListener arg1) { throw new UnsupportedOperationException(); - } + }*/ @Override public Collection syncRequest(MultiRead arg0, SyncMultiListener arg1) { @@ -355,11 +345,6 @@ public class ProcessorBase implements RequestProcessor { throw new UnsupportedOperationException(); } - @Override - public void asyncRequest(MultiRead arg0, AsyncMultiListener arg1) { - throw new UnsupportedOperationException(); - } - @Override public void asyncRequest(MultiRead arg0, SyncMultiListener arg1) { throw new UnsupportedOperationException();