Clarify LoadErrorHandlingPolicy's loadDurationMs javadocs
PiperOrigin-RevId: 266797383
This commit is contained in:
parent
d2c056eb91
commit
d37c18abfe
@ -44,8 +44,8 @@ public interface LoadErrorHandlingPolicy {
|
|||||||
*
|
*
|
||||||
* @param dataType One of the {@link C C.DATA_TYPE_*} constants indicating the type of data to
|
* @param dataType One of the {@link C C.DATA_TYPE_*} constants indicating the type of data to
|
||||||
* load.
|
* load.
|
||||||
* @param loadDurationMs The duration in milliseconds of the load up to the point at which the
|
* @param loadDurationMs The duration in milliseconds of the load from the start of the first load
|
||||||
* error occurred, including any previous attempts.
|
* attempt up to the point at which the error occurred.
|
||||||
* @param exception The load error.
|
* @param exception The load error.
|
||||||
* @param errorCount The number of errors this load has encountered, including this one.
|
* @param errorCount The number of errors this load has encountered, including this one.
|
||||||
* @return The blacklist duration in milliseconds, or {@link C#TIME_UNSET} if the resource should
|
* @return The blacklist duration in milliseconds, or {@link C#TIME_UNSET} if the resource should
|
||||||
@ -64,8 +64,8 @@ public interface LoadErrorHandlingPolicy {
|
|||||||
*
|
*
|
||||||
* @param dataType One of the {@link C C.DATA_TYPE_*} constants indicating the type of data to
|
* @param dataType One of the {@link C C.DATA_TYPE_*} constants indicating the type of data to
|
||||||
* load.
|
* load.
|
||||||
* @param loadDurationMs The duration in milliseconds of the load up to the point at which the
|
* @param loadDurationMs The duration in milliseconds of the load from the start of the first load
|
||||||
* error occurred, including any previous attempts.
|
* attempt up to the point at which the error occurred.
|
||||||
* @param exception The load error.
|
* @param exception The load error.
|
||||||
* @param errorCount The number of errors this load has encountered, including this one.
|
* @param errorCount The number of errors this load has encountered, including this one.
|
||||||
* @return The number of milliseconds to wait before attempting the load again, or {@link
|
* @return The number of milliseconds to wait before attempting the load again, or {@link
|
||||||
|
Loading…
x
Reference in New Issue
Block a user