Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1246

Investigate optimizing the happy path in QueryExecutorMethodInterceptor.invoke(…)

    XMLWordPrintable

    Details

    • Sprint:
      Lovelace M1

      Description

      After actually invoking the downstream method, QueryExecutorMethodInterceptor.invoke(…) creates a MethodParameter and a TypeDescriptor to hand those into QueryExecutionResultHandler.postProcessInvocationResult(…), which immediately returns the object as is, in case the result object to be handled is an instance of the requested type. We could detect that case without creating the intermediate objects.

        Attachments

          Activity

            People

            Assignee:
            olivergierke Oliver Drotbohm
            Reporter:
            olivergierke Oliver Drotbohm
            Last updater:
            Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: