web/static/javadoc/5.2.0/org/acra/annotation/AcraLimiter.html
Class
Summary:
Field |
Required |
Detail:
Field |
org.acra.annotation
[@Documented](http://d.android.com/reference/java/lang/annotation/Documented.html?is-external=true "class or interface in java.lang.annotation")[@Retention](http://d.android.com/reference/java/lang/annotation/Retention.html?is-external=true "class or interface in java.lang.annotation")([value](http://d.android.com/reference/java/lang/annotation/Retention.html?is-external=true#value-- "class or interface in java.lang.annotation")=[RUNTIME](http://d.android.com/reference/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME "class or interface in java.lang.annotation"))[@Target](http://d.android.com/reference/java/lang/annotation/Target.html?is-external=true "class or interface in java.lang.annotation")([value](http://d.android.com/reference/java/lang/annotation/Target.html?is-external=true#value-- "class or interface in java.lang.annotation")=[TYPE](http://d.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#TYPE "class or interface in java.lang.annotation"))[@Inherited](http://d.android.com/reference/java/lang/annotation/Inherited.html?is-external=true "class or interface in java.lang.annotation")public @interfaceAcraLimiter
Limiter configuration Since:26.10.2017
Optional Elements | Modifier and Type | Optional Element and Description |
| --- | --- |
| int | exceptionClassLimit
limit for reports with the same exception class
|
| int | failedReportLimit
limit for unsent reports
|
| int | overallLimit
general limit of reports
|
| long | period
Reports which have been collected before this will not be considered for any limits except failedReportLimit()
|
| TimeUnit | periodUnit
Unit of period()
|
| int | resIgnoredCrashToast
toast shown when a report was not collected or sent because a limit was exceeded
|
| int | stacktraceLimit
limit for reports with the same stacktrace
|
-
[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")public abstract[TimeUnit](http://d.android.com/reference/java/util/concurrent/TimeUnit.html?is-external=true "class or interface in java.util.concurrent")periodUnit
Unit of period()
Returns:a time unitSince:5.0.0Default:java.util.concurrent.TimeUnit.DAYS
public abstract long period
Reports which have been collected before this will not be considered for any limits except failedReportLimit()
Returns:number of periodUnit()s in which to limit reportsSince:5.0.0Default:7L
public abstract int overallLimit
general limit of reports Returns:maximum number of reports per periodSince:5.0.0Default:25
public abstract int stacktraceLimit
limit for reports with the same stacktrace Returns:maximum number of reports with the same stacktrace per periodSince:5.0.0Default:3
public abstract int exceptionClassLimit
limit for reports with the same exception class Returns:maximum number of reports with the same exception class per periodSince:5.0.0Default:10
public abstract int failedReportLimit
limit for unsent reports Returns:maximum number of unsent reports to keepSince:5.0.0Default:5
[@StringRes](http://d.android.com/reference/android/support/annotation/StringRes.html?is-external=true "class or interface in android.support.annotation")public abstract int resIgnoredCrashToast
toast shown when a report was not collected or sent because a limit was exceeded Returns:Resource id for the toast shown when a crash was ignoredSince:5.0.0Default:0
Class
Summary:
Field |
Required |
Detail:
Field |