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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: