Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1003

Use reflection instead of serialization when launching VortexFunction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.15
    • Vortex
    • None

    Description

      As described in REEF-504, we can try using reflection when launching Tasklets. So we can avoid repeated serialization of user code (VortexFunction) in VortexMaster.

      For this, we need to send class name of the user code from the Master, and instantiate by using Class.forName(className). Also, as only public classes can be instantiated, we should change the current example VortexFunctions (HelloVortexFunction and AddOneFunction) to be public, and add documentation about it in VortexFunction interface.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yunseong Yunseong Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: