Package 

Class ExceptionManageCacheImpl

    • Constructor Detail

      • ExceptionManageCacheImpl

        ExceptionManageCacheImpl(ContextProvider contextProvider)
    • Method Detail

      • storeNewException

         String storeNewException(Throwable throwable, String message)

        This method is using Synchronized block to prevent multiple threads that trying to write the same exception at the same time and loosing data (wrong counter)

        Parameters:
        throwable - {@link Throwable} to store
        message - {@link String} described the exception
      • deleteAllStoredExceptionsIgnoreFolders

         Boolean deleteAllStoredExceptionsIgnoreFolders(String folders)

        This method is using Synchronized block to make sure all the required files are deleted for example trying deleting while another thread is writing

        Parameters:
        folders - list of SDK version that their exceptions should not be deleted