public class DMXMLSplitter extends java.lang.Object implements XMLSplitListener
| Constructor and Description | 
|---|
DMXMLSplitter(MXTransaction tn,
             UserInfo ui,
             boolean flag,
             int memory)
Splitter class for MM 
 | 
| 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. 
 | 
public DMXMLSplitter(MXTransaction tn, UserInfo ui, boolean flag, int memory) throws MXException
tn - mosName - ui - rollback - MXExceptionpublic void splitStart()
                throws MXException
XMLSplitListenersplitStart in interface XMLSplitListenerMXExceptionpublic boolean splitPerformed(byte[] splitXMLData,
                     int splitIndex)
                       throws MXException
splitPerformed in interface XMLSplitListenersplitXMLData - the xml data for a split.splitIndex - the index of the split.MXExceptionpublic void splitEnd()
              throws MXException
splitEnd in interface XMLSplitListenerMXException - MXSystemException exceptionpublic boolean anyFailure()
public boolean memoryExceeded()