qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [01/50] [abbrv] qpid-proton git commit: PROTON-984: Proton-j needs to document time units
Date Mon, 28 Sep 2015 18:09:27 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/proton-go 64acd38f6 -> bd3fb337c (forced update)


PROTON-984: Proton-j needs to document time units


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/f17cc97f
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/f17cc97f
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/f17cc97f

Branch: refs/heads/proton-go
Commit: f17cc97f809a10272298c016cab3d4ddeefe37ac
Parents: f757b98
Author: Bozo Dragojevic <bozzo@digiverse.si>
Authored: Wed Sep 16 14:24:54 2015 +0200
Committer: Bozo Dragojevic <bozzo@digiverse.si>
Committed: Wed Sep 16 15:40:05 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/qpid/proton/engine/Transport.java   | 12 ++++++++++++
 .../java/org/apache/qpid/proton/reactor/Reactor.java    |  6 ++++--
 2 files changed, 16 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/f17cc97f/proton-j/src/main/java/org/apache/qpid/proton/engine/Transport.java
----------------------------------------------------------------------
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/Transport.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/Transport.java
index d83f76b..0d8539f 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/engine/Transport.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/Transport.java
@@ -224,8 +224,20 @@ public interface Transport extends Endpoint
 
     ErrorCondition getCondition();
 
+    /**
+     *
+     * @param local idle timeout in milliseconds
+     */
     void setIdleTimeout(int timeout);
+    /**
+     *
+     * @return local idle timeout in milliseconds
+     */
     int getIdleTimeout();
+    /**
+     *
+     * @return remote idle timeout in milliseconds
+     */
     int getRemoteIdleTimeout();
 
     long tick(long now);

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/f17cc97f/proton-j/src/main/java/org/apache/qpid/proton/reactor/Reactor.java
----------------------------------------------------------------------
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/reactor/Reactor.java b/proton-j/src/main/java/org/apache/qpid/proton/reactor/Reactor.java
index f2a38a5..9d67d49 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/reactor/Reactor.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/reactor/Reactor.java
@@ -71,9 +71,11 @@ public interface Reactor {
     Record attachments();
 
     /**
-     * @param timeout a timeout value, to associate with this instance of
+     * The value the reactor will use for {@link Selector#select(long)} that is called as
part of {@link #process()}.
+     *
+     * @param timeout a timeout value in milliseconds, to associate with this instance of
      *        the reactor.  This can be retrieved using the
-     *        {@link #getTimeout()} method.
+     *        {@link #getTimeout()} method
      */
     void setTimeout(long timeout);
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message