psdi.dm.util

Class DMXMLSplitter

  • java.lang.Object
    • psdi.dm.util.DMXMLSplitter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean anyFailure()
      Returns flag true if there is any error during preview.
      boolean memoryExceeded()
      Returns flag true if memory exceeds the threshold during preview.
      void splitEnd()
      This method gets called at the end of split process.
      boolean splitPerformed(byte[] splitXMLData, int splitIndex)
      This method gets called whenever a logical split happens
      void splitStart()
      called before the start of splitting process.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • splitPerformed

        public boolean splitPerformed(byte[] splitXMLData,
                                      int splitIndex)
                               throws MXException
        This method gets called whenever a logical split happens
        Specified by:
        splitPerformed in interface XMLSplitListener
        Parameters:
        splitXMLData - the xml data for a split.
        splitIndex - the index of the split.
        Returns:
        boolean
        Throws:
        MXException
      • anyFailure

        public boolean anyFailure()
        Returns flag true if there is any error during preview.
        Returns:
      • memoryExceeded

        public boolean memoryExceeded()
        Returns flag true if memory exceeds the threshold during preview.
        Returns: