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

Improvising Batching code

    XMLWordPrintable

Details

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

    Description

      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);

      Attachments

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

        Activity

          People

            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

            Dates

              Created:
              Updated:
              Resolved: