From efdfe9ad8d8c1ee1dc0cc82dd8070a9cc099a7bb Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 6 Feb 2018 11:23:53 -0500 Subject: [PATCH] Minor Javadoc update --- .../reactive/AbstractHttpHandlerIntegrationTests.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spring-web/src/test/java/org/springframework/http/server/reactive/AbstractHttpHandlerIntegrationTests.java b/spring-web/src/test/java/org/springframework/http/server/reactive/AbstractHttpHandlerIntegrationTests.java index 2ad80fb7721..3ecd0b7a303 100644 --- a/spring-web/src/test/java/org/springframework/http/server/reactive/AbstractHttpHandlerIntegrationTests.java +++ b/spring-web/src/test/java/org/springframework/http/server/reactive/AbstractHttpHandlerIntegrationTests.java @@ -79,6 +79,14 @@ public abstract class AbstractHttpHandlerIntegrationTests { /** * Return an interval stream of with n number of ticks and buffer the * emissions to avoid back pressure failures (e.g. on slow CI server). + * + *

Use this method as follows: + *

*/ public static Flux interval(Duration period, int count) { return Flux.interval(period).take(count).onBackpressureBuffer(2);