-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Deprecated()@Documented()@Retention(value = RetentionPolicy.RUNTIME)@Target(value = ElementType.TYPE)@Inherited() public @interface AcraLimiter
Limiter configuration
-
-
Method Summary
Modifier and Type Method Description abstract TimeUnitperiodUnit()Unit of period abstract longperiod()Reports which have been collected before this will not be considered for any limits except failedReportLimit abstract intoverallLimit()general limit of reports abstract intstacktraceLimit()limit for reports with the same stacktrace abstract intexceptionClassLimit()limit for reports with the same exception class abstract intfailedReportLimit()limit for unsent reports abstract intresIgnoredCrashToast()toast shown when a report was not collected or sent because a limit was exceeded abstract booleandeleteReportsOnAppUpdate()This property can be used to determine whether old (out of date) reports should be sent or not. abstract booleanresetLimitsOnAppUpdate()Resetting limits after an app update allows you to see if a bug still exists. -
-
Method Detail
-
periodUnit
@NonNull() abstract TimeUnit periodUnit()
Unit of period
-
period
abstract long period()
Reports which have been collected before this will not be considered for any limits except failedReportLimit
-
overallLimit
abstract int overallLimit()
general limit of reports
-
stacktraceLimit
abstract int stacktraceLimit()
limit for reports with the same stacktrace
-
exceptionClassLimit
abstract int exceptionClassLimit()
limit for reports with the same exception class
-
failedReportLimit
abstract int failedReportLimit()
limit for unsent reports
-
resIgnoredCrashToast
@StringRes() abstract int resIgnoredCrashToast()
toast shown when a report was not collected or sent because a limit was exceeded
-
deleteReportsOnAppUpdate
abstract boolean deleteReportsOnAppUpdate()
This property can be used to determine whether old (out of date) reports should be sent or not.
-
resetLimitsOnAppUpdate
abstract boolean resetLimitsOnAppUpdate()
Resetting limits after an app update allows you to see if a bug still exists.
-
-
-
-