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

Improvising Batching code

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • None
    • (unspecified)
    • General
    • None
    • Operating System: All
      Platform: All

      Improvising Batching code :
      A new concrete class(DefaultBatchHandler) should be written which will Implement "ResourceHandler" and provide the functionality of Resource Handler.

      The current implementation requires modules to implement interface "ResourceHandler" for using Batching functionality, with the new implementation, this is not required. modules can register for batching passing the object of DefaultBatchHandler.

      The below methods are exposed in class "ResourceBatchingManager" for the modules to use.

      provide interfaces similar to databroker transaction interface.

      public void put(String resourceType, InstanceIdentifier identifier, DataObject updatedData);
      public void merge(String resourceType, InstanceIdentifier identifier, DataObject updatedData);
      public void delete(String resourceType, InstanceIdentifier identifier);

            yugandhar.reddy.kaku@ericsson.com yugandhar reddy kaku
            yugandhar.reddy.kaku@ericsson.com yugandhar reddy kaku
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: