@@ -172,10 +172,15 @@ public Builder keyExpiration(@Nullable final Long keyExpiration, final TimeUnit
172172 * <li>{@code > 0} The time limit to use for the full execution of an operation.</li>
173173 * </ul>
174174 *
175- * <p><strong>Note:</strong> The timeout set through this method overrides the timeout defined in the key vault client settings
176- * specified in {@link #keyVaultMongoClientSettings(MongoClientSettings)}.
177- * Essentially, for operations that require accessing the key vault, the remaining timeout from the initial operation
178- * determines the duration allowed for key vault access.</p>
175+ * <p>Note:
176+ * <ul>
177+ * <li>The timeout set through this method overrides the timeout defined in the key vault client settings
178+ * specified in {@link #keyVaultMongoClientSettings(MongoClientSettings)}.
179+ * Essentially, for operations that require accessing the key vault, the remaining timeout from the initial operation
180+ * determines the duration allowed for key vault access.</li>
181+ * <li>When using synchronous API, this timeout does not limit socket writes, therefore there is a possibility that the
182+ * operation might not be timed out when expected. This limitation does not apply to the reactive streams API.</li>
183+ * </ul>
179184 *
180185 * @param timeout the timeout
181186 * @param timeUnit the time unit
@@ -368,6 +373,16 @@ public Long getKeyExpiration(final TimeUnit timeUnit) {
368373 * <li>{@code > 0} The time limit to use for the full execution of an operation.</li>
369374 * </ul>
370375 *
376+ * <p>Note:
377+ * <ul>
378+ * <li>The timeout set through this method overrides the timeout defined in the key vault client settings
379+ * specified in {@link Builder#keyVaultMongoClientSettings(MongoClientSettings)}.
380+ * Essentially, for operations that require accessing the key vault, the remaining timeout from the initial operation
381+ * determines the duration allowed for key vault access.</li>
382+ * <li>When using synchronous API, this timeout does not limit socket writes, therefore there is a possibility that the
383+ * operation might not be timed out when expected. This limitation does not apply to the reactive streams API.</li>
384+ * </ul>
385+ *
371386 * @param timeUnit the time unit
372387 * @return the timeout in the given time unit
373388 * @since 5.2
0 commit comments