File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/io/nats/client Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ public interface JetStreamSubscription extends Subscription {
133133 * ! Pull subscriptions only. Push subscription will throw IllegalStateException
134134 *
135135 * @param batchSize the size of the batch
136- * @param maxWait the maximum time to wait for the first message .
136+ * @param maxWait the maximum time to wait to collect messages for the batch .
137137 *
138138 * @return the list of messages
139139 * @throws IllegalStateException if not a pull subscription.
@@ -148,7 +148,7 @@ public interface JetStreamSubscription extends Subscription {
148148 * ! Pull subscriptions only. Push subscription will throw IllegalStateException
149149 *
150150 * @param batchSize the size of the batch
151- * @param maxWaitMillis the maximum time to wait for the first message , in milliseconds.
151+ * @param maxWaitMillis the maximum time to wait to collect messages for the batch , in milliseconds.
152152 *
153153 * @return the list of messages
154154 * @throws IllegalStateException if not a pull subscription.
You can’t perform that action at this time.
0 commit comments