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
- is part of
-
REEF-504 Clean up Serializable in Vortex
- Resolved