Interface IDfEventManager


public interface IDfEventManager
During batch insert, mulitple events would be written into one queue item if oneEventPerBatch were specified. This interface provides a method to parse the serialized events.
  • Method Summary

    Modifier and Type
    Method
    Description
    When oneEventPerBatch flag is turned on for a batch, the batch will generate a dm_batch_flush event for objects created inside the batch.
  • Method Details

    • parseBatchedIds

      List<IDfPair<IDfId,String>> parseBatchedIds(IDfId eventId) throws DfException
      When oneEventPerBatch flag is turned on for a batch, the batch will generate a dm_batch_flush event for objects created inside the batch. Each dm_batch_flush entry may contain multiple object ids. This method parses the dm_batch_flush event and returns the list of batched object id and operation pairs
      Parameters:
      eventId -
      Returns:
      a list of id/operation pairs, return null if the object is not a dm_batch_flush event object, if the object does not exist, or there is no batched event.
      Throws:
      DfException - if the object is not dmi_queue_item
      Since:
      6.5