Package 

Interface ExceptionManageCache


  • 
    public interface ExceptionManageCache
    
                        

    Interface that declare the required functionality of cache handling for exception manager module

    • Method Detail

      • storeNewException

        @WorkerThread() abstract String storeNewException(Throwable throwable, String message)

        Save a new {@link Throwable} to persistent storage

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

        @WorkerThread() abstract Boolean deleteAllStoredExceptionsIgnoreFolders(String folders)

        Delete all the stored exception from the memory of all the SDK versions except of SDK versions that passed as an arguments for this method. For example, calling this method with "6.9.0" as an argument will delete all exceptions except of exceptions accrue on SDK v6.9.0

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

        @WorkerThread() abstract Unit deleteAllStoredExceptionsIgnoreFolders(Integer from, Integer to)

        Delete all the stored exception from the memory of all the SDK versions except of SDK versions range from, to that passed as an arguments for this method. For example, calling this method with "600009000, 600009999" as an argument will delete all exceptions except of exceptions from the range 6.9.0-6.9.999

        Parameters:
        from -
        • lower bound of a range, int representation if SDK version String

        to -
        • upper bound of a range, int representation if SDK version String