Skip to content

Commit 3ba911a

Browse files
author
Ajay Kannan
committed
Javadoc adjustments
1 parent 07e467c commit 3ba911a

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

gcloud-java-core/src/main/java/com/google/gcloud/RetryParams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public Builder retryDelayBackoffFactor(double retryDelayBackoffFactor) {
165165
/**
166166
* Sets totalRetryPeriodMillis. Note that App Engine Standard Environment front-end modules have
167167
* a 60 second deadline for HTTP requests. For that reason, you should set the total retry
168-
* period to under 60 seconds if you are using the App Engine front-end module.
168+
* period to under 60 seconds if you are using it on an App Engine front-end module.
169169
*
170170
* @param totalRetryPeriodMillis the totalRetryPeriodMillis to set
171171
* @return the Builder for chaining

gcloud-java-core/src/main/java/com/google/gcloud/ServiceOptions.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,11 @@ private static <T> T newInstance(String className) throws IOException, ClassNotF
655655

656656
public abstract <B extends Builder<ServiceT, ServiceRpcT, OptionsT, B>> B toBuilder();
657657

658+
/**
659+
* Some services may have different backoff requirements listed in their SLAs. Be sure to override
660+
* this method in options subclasses when the service's backoff requirement differs from the
661+
* default parameters listed in {@link RetryParams}.
662+
*/
658663
protected RetryParams defaultRetryParams() {
659664
return RetryParams.defaultInstance();
660665
}

0 commit comments

Comments
 (0)