Class ChainingUserRegistrySynchronizer.BaseBatchProcessWorker<T>

    • Constructor Detail

      • BaseBatchProcessWorker

        protected BaseBatchProcessWorker()
    • Method Detail

      • beforeProcess

        public final void beforeProcess()
                                 throws java.lang.Throwable
        Description copied from interface: BatchProcessor.BatchProcessWorker
        Callback to allow thread initialization before the work entries are processed. Typically, this will include authenticating as a valid user and disbling or enabling any system flags that might affect the entry processing.
        Specified by:
        beforeProcess in interface BatchProcessor.BatchProcessWorker<T>
        Throws:
        java.lang.Throwable
      • afterProcess

        public final void afterProcess()
                                throws java.lang.Throwable
        Description copied from interface: BatchProcessor.BatchProcessWorker
        Callback to allow thread cleanup after the work entries have been processed. Typically, this will involve cleanup of authentication and resetting any system flags previously set.

        This call is made regardless of the outcome of the entry processing.

        Specified by:
        afterProcess in interface BatchProcessor.BatchProcessWorker<T>
        Throws:
        java.lang.Throwable