You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/03/15 05:05:20 UTC

[incubator-pulsar] branch master updated: Fix java docs (#1389)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new e118a22  Fix java docs (#1389)
e118a22 is described below

commit e118a22520e5cc7ac6e3eb4b737cd0d2002084ff
Author: Sanjeev Kulkarni <sa...@gmail.com>
AuthorDate: Wed Mar 14 22:05:18 2018 -0700

    Fix java docs (#1389)
---
 pulsar-client/src/main/java/org/apache/pulsar/client/api/Reader.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pulsar-client/src/main/java/org/apache/pulsar/client/api/Reader.java b/pulsar-client/src/main/java/org/apache/pulsar/client/api/Reader.java
index f343c90..44c0d0a 100644
--- a/pulsar-client/src/main/java/org/apache/pulsar/client/api/Reader.java
+++ b/pulsar-client/src/main/java/org/apache/pulsar/client/api/Reader.java
@@ -42,9 +42,10 @@ public interface Reader<T> extends Closeable {
     Message<T> readNext() throws PulsarClientException;
 
     /**
-     * Read the next message in the topic.
+     * Read the next message in the topic waiting for a maximum of timeout
+     * time units. Returns null if no message is recieved in that time.
      *
-     * @return the next messasge
+     * @return the next message(Could be null if none received in time)
      * @throws PulsarClientException
      */
     Message<T> readNext(int timeout, TimeUnit unit) throws PulsarClientException;

-- 
To stop receiving notification emails like this one, please contact
mmerli@apache.org.