You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2015/12/24 17:18:46 UTC

[2/8] mina git commit: Fixed some Javadoc errors

Fixed some Javadoc errors

Project: http://git-wip-us.apache.org/repos/asf/mina/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina/commit/0e0e5054
Tree: http://git-wip-us.apache.org/repos/asf/mina/tree/0e0e5054
Diff: http://git-wip-us.apache.org/repos/asf/mina/diff/0e0e5054

Branch: refs/heads/2.0
Commit: 0e0e5054b35ec630999b1c1e24d7cd988b7bcaae
Parents: fad196f
Author: Emmanuel Lécharny <el...@symas.com>
Authored: Thu Dec 24 16:54:06 2015 +0100
Committer: Emmanuel Lécharny <el...@symas.com>
Committed: Thu Dec 24 16:54:06 2015 +0100

----------------------------------------------------------------------
 .../org/apache/mina/core/service/IoServiceStatistics.java | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina/blob/0e0e5054/mina-core/src/main/java/org/apache/mina/core/service/IoServiceStatistics.java
----------------------------------------------------------------------
diff --git a/mina-core/src/main/java/org/apache/mina/core/service/IoServiceStatistics.java b/mina-core/src/main/java/org/apache/mina/core/service/IoServiceStatistics.java
index c69c556..01701aa 100644
--- a/mina-core/src/main/java/org/apache/mina/core/service/IoServiceStatistics.java
+++ b/mina-core/src/main/java/org/apache/mina/core/service/IoServiceStatistics.java
@@ -328,7 +328,7 @@ public class IoServiceStatistics {
     }
 
     /**
-     * Returns the interval (milliseconds) between each throughput calculation.
+     * @return the interval (milliseconds) between each throughput calculation.
      * The default value is <tt>3</tt> seconds.
      */
     public final long getThroughputCalculationIntervalInMillis() {
@@ -338,6 +338,8 @@ public class IoServiceStatistics {
     /**
      * Sets the interval (seconds) between each throughput calculation.  The
      * default value is <tt>3</tt> seconds.
+     * 
+     * @param throughputCalculationInterval The interval between two calculation
      */
     public final void setThroughputCalculationInterval(int throughputCalculationInterval) {
         if (throughputCalculationInterval < 0) {
@@ -394,6 +396,8 @@ public class IoServiceStatistics {
 
     /**
      * Updates the throughput counters.
+     * 
+     * @param currentTime The current time
      */
     public void updateThroughput(long currentTime) {
         throughputCalculationLock.lock();
@@ -534,6 +538,8 @@ public class IoServiceStatistics {
 
     /**
      * Increments by <code>increment</code> the count of bytes scheduled for write.
+     * 
+     * @param increment The number of added bytes fro write
      */
     public final void increaseScheduledWriteBytes(int increment) {
         throughputCalculationLock.lock();
@@ -586,6 +592,8 @@ public class IoServiceStatistics {
 
     /**
      * Sets the time at which throughput counters where updated.
+     * 
+     * @param lastThroughputCalculationTime The time at which throughput counters where updated.
      */
     protected void setLastThroughputCalculationTime(long lastThroughputCalculationTime) {
         throughputCalculationLock.lock();