Class AbstractJavaDataSetRegistrationDropboxV2

    • Constructor Detail

      • AbstractJavaDataSetRegistrationDropboxV2

        public AbstractJavaDataSetRegistrationDropboxV2()
    • Method Detail

      • rollbackPreRegistration

        public void rollbackPreRegistration​(DataSetRegistrationContext context,
                                            java.lang.Throwable throwable)
        Default implementation is to do nothing. Subclasses may override.
        Specified by:
        rollbackPreRegistration in interface IJavaDataSetRegistrationDropboxV2
        Parameters:
        context - Context of the registration. Offers access to the global state and persistent map.
        throwable - The throwable that triggered rollback.
      • shouldRetryProcessing

        public boolean shouldRetryProcessing​(DataSetRegistrationContext context,
                                             java.lang.Exception problem)
                                      throws ch.systemsx.cisd.common.exceptions.NotImplementedException
        Default implementation is to not retry processing.
        Specified by:
        shouldRetryProcessing in interface IJavaDataSetRegistrationDropboxV2
        Parameters:
        context - Context of the registration. Offers access to the global state and persistent map.
        problem - The exception that caused the registration to fail.
        Returns:
        false
        Throws:
        ch.systemsx.cisd.common.exceptions.NotImplementedException