web/static/javadoc/4.11/org/acra/config/DefaultRetryPolicy.html
org.acra.config
java.lang.Object
All Implemented Interfaces:RetryPolicy
public classDefaultRetryPolicyextends java.lang.Object
implements[RetryPolicy](../../../org/acra/config/RetryPolicy.html "interface in org.acra.config")
Default RetryPolicy. Only resend if all senders failed.
Since:4.9.1
-
RetryPolicy.FailedSender
Constructors | Constructor and Description |
| --- |
| DefaultRetryPolicy() |
All Methods Instance Methods Concrete Methods | Modifier and Type | Method and Description |
| --- | --- |
| boolean | shouldRetrySend(java.util.List<ReportSender> senders, java.util.List<RetryPolicy.FailedSender> failedSenders) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public DefaultRetryPolicy()
-
public boolean shouldRetrySend(java.util.List<[ReportSender](../../../org/acra/sender/ReportSender.html "interface in org.acra.sender")> senders,
java.util.List<[RetryPolicy.FailedSender](../../../org/acra/config/RetryPolicy.FailedSender.html "class in org.acra.config")> failedSenders)
Specified by:shouldRetrySend in interface RetryPolicyParameters:senders - a list of all senders.failedSenders - a list of all failed senders with the thrown exceptions.Returns:true if the request should be resent later, otherwise false.