Class SystemErrorOutboundSyncEvent

  • All Implemented Interfaces:
    java.io.Serializable

    @Immutable
    public final class SystemErrorOutboundSyncEvent
    extends OutboundSyncEvent
    Event is triggered after a systemic error occurred. This event signals the processing of more items should be stopped. There is a systemic error, and there is no reason to continue.
    See Also:
    Serialized Form
    • Constructor Detail

      • SystemErrorOutboundSyncEvent

        public SystemErrorOutboundSyncEvent​(PK cronJobPk,
                                            int changesCnt)
        Instantiates this event
        Parameters:
        cronJobPk - primary key of the job that was aborted.
        changesCnt - number of changes processed by the job for the context item ignored during synchronization.
    • Method Detail

      • getChangesProcessed

        public int getChangesProcessed()
        Retrieves number of changes related to the item ignored.
        Returns:
        number of changes related to the item ignored. At a minimum this value is expected to be 1, but the number can be greater when multiple items related to the item being synchronized changed. For example, if Customer is being synchronized because two of its Addresses changed, this value will be 2.