Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-22478

Use single argument in Compute API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • compute

    Description

      It seems like execute(Object... args) is an overkill for the "basic" compute api. We agreed that we are going to support the only one input argument in the low-level API. The goal of this ticket is to refactor the existing API so that we will have:

      ComputeJob<T, R>

      { R execute(ExcecutionContext ctx, T input) }

      The type of the I is primitive for this ticket. We are not going to think: "How do we pass complex objects?". This will be solved in following tickets.

      Attachments

        Issue Links

          Activity

            People

              aleksandr.pakhomov Aleksandr
              aleksandr.pakhomov Aleksandr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m