X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2FAsyncRequestProcessorSpecific.java;h=254174917cea5ebb7affb46069f94a6401645df1;hp=429696cda867a078c72ade8baef22733b2786be5;hb=0d9b90834ce56b292c00b1a39850ed842c3e4d42;hpb=e5db6157fd8722c946613d4e46d7aaf6bfa92609 diff --git a/bundles/org.simantics.db/src/org/simantics/db/AsyncRequestProcessorSpecific.java b/bundles/org.simantics.db/src/org/simantics/db/AsyncRequestProcessorSpecific.java index 429696cda..254174917 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/AsyncRequestProcessorSpecific.java +++ b/bundles/org.simantics.db/src/org/simantics/db/AsyncRequestProcessorSpecific.java @@ -289,7 +289,7 @@ public interface AsyncRequestProcessorSpecific extends ServiceLocator { * @param request an instance of {@link MultiRead}. * @param procedure an instance of {@link AsyncMultiListener}. */ - void asyncRequest(MultiRead request, AsyncMultiListener procedure); + // void asyncRequest(MultiRead request, AsyncMultiListener procedure); /** * Asynchronously registers the given {@link SyncMultiListener} (as @@ -329,7 +329,7 @@ public interface AsyncRequestProcessorSpecific extends ServiceLocator { * @param request an instance of {@link MultiRead}. * @param procedure an instance of {@link AsyncMultiProcedure}. */ - void asyncRequest(MultiRead request, AsyncMultiProcedure procedure); + // void asyncRequest(MultiRead request, AsyncMultiProcedure procedure); /** * Asynchronously supplies the result determined from the given @@ -463,65 +463,5 @@ public interface AsyncRequestProcessorSpecific extends ServiceLocator { void asyncRequest(ExternalRead request, Listener procedure); void asyncRequest(ExternalRead request, Procedure procedure); - /** - * Asynchronously performs the given {@link Write}. The outcome of the - * request will be lost. - * - * @param request an instance of {@link Write}. - */ - void asyncRequest(Write request); - - /** - * Asynchronously performs the given {@link Write}. The outcome of the - * request will be reported to given {@link Consumer} in the form of a - * DatabaseException raised during request processing or null upon success. - * - * @param request an instance of {@link Write}. - * @param request an instance of {@link Consumer}. - */ - void asyncRequest(Write request, Consumer callback); - - void asyncRequest(WriteResult r, Procedure procedure); - - - /** - * Asynchronously performs the given {@link WriteOnly}. The outcome of the - * request will be lost. - * - * @param request an instance of {@link Write}. - */ - void asyncRequest(DelayedWrite request); - - /** - * Asynchronously performs the given {@link WriteOnly}. The outcome of the - * request will be reported to given {@link Consumer} in the form of a - * DatabaseException raised during request processing or null upon success. - * - * @param request an instance of {@link WriteOnly}. - * @param request an instance of {@link Consumer}. - */ - void asyncRequest(DelayedWrite request, Consumer callback); - - void asyncRequest(DelayedWriteResult r, Procedure procedure); - - /** - * Asynchronously performs the given {@link WriteOnly}. The outcome of the - * request will be lost. - * - * @param request an instance of {@link Write}. - */ - void asyncRequest(WriteOnly r); - - /** - * Asynchronously performs the given {@link WriteOnly}. The outcome of the - * request will be reported to given {@link Consumer} in the form of a - * DatabaseException raised during request processing or null upon success. - * - * @param request an instance of {@link WriteOnly}. - * @param request an instance of {@link Consumer}. - */ - void asyncRequest(WriteOnly r, Consumer callback); - - void asyncRequest(WriteOnlyResult r, Procedure procedure); }