Uploaded image for project: 'genius'
  1. genius
  2. GENIUS-281

genius.utils.batching.ActionableResource is inefficient

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • Aluminium
    • mdsalutils
    • None

    Description

      ActionableResource has a number of deficiencies:

      • the interface seems to be mutable, where in fact is really is not
      • each resource requires a key, which is only ever used impossible cases – and it forces clients to come up with Strings. Users resort to inefficient use to toString() on various objects, mostly InstanceIdentifier
      • the interface hides really four distinct polymorphic cases, each of which should be tightly encapsulated

      Rework the interface so it addresses all these concerns.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            Hematg Hema Gopalakrishnan
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: