Class CatalogVersionSyncMaster

    • Method Detail

      • isIgnoreErrors

        public final boolean isIgnoreErrors()
      • getCurrentDumpCount

        protected int getCurrentDumpCount()
      • getCurrentDumpDeadlockCount

        protected int getCurrentDumpDeadlockCount()
      • runExclusiveIfNecessary

        public void runExclusiveIfNecessary​(SyncSchedule schedule,
                                            java.lang.Runnable r)
      • waitForWorkersToDie

        protected void waitForWorkersToDie()
      • waitForEmptyQueue

        protected void waitForEmptyQueue()
      • notifyError

        protected void notifyError​(CatalogVersionSyncWorker worker,
                                   SyncSchedule scheduledItem,
                                   java.lang.Exception exception)
        Parameters:
        scheduledItem - the scheduled item which caused the error
        exception - the error
        Throws:
        java.lang.RuntimeException - for any runtime exception unless ignore mode is chose
        JaloSystemException - for all non-runtime exception unless ignore mode is chosen
      • hasErrors

        public boolean hasErrors()
      • getCurrentTurn

        public int getCurrentTurn()
      • setFirstTurnTotal

        protected void setFirstTurnTotal​(int firstTurnTotal)
      • incrementProcessedItemsCount

        public void incrementProcessedItemsCount​(int weight)