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

Use single argument in Compute API

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aleksandr.pakhomov Aleksandr Assign to me
            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

              Slack

                Issue deployment