Fixing javadocs.
Change-Id: I100488664315af9c1b7faffab2d66ea3263d57ca
diff --git a/utils/misc/src/main/java/org/onlab/util/BlockingBoolean.java b/utils/misc/src/main/java/org/onlab/util/BlockingBoolean.java
index cffdc1a..f3049c3 100644
--- a/utils/misc/src/main/java/org/onlab/util/BlockingBoolean.java
+++ b/utils/misc/src/main/java/org/onlab/util/BlockingBoolean.java
@@ -40,7 +40,7 @@
* value unless the thread is {@linkplain Thread#interrupt interrupted}.
*
* @param value specified value
- * @throws InterruptedException
+ * @throws InterruptedException if interrupted while waiting
*/
public void await(boolean value) throws InterruptedException {
acquireSharedInterruptibly(value ? TRUE : FALSE);
@@ -56,7 +56,7 @@
* @param unit the time unit of the {@code timeout} argument
* @return {@code true} if the count reached zero and {@code false}
* if the waiting time elapsed before the count reached zero
- * @throws InterruptedException
+ * @throws InterruptedException if interrupted while waiting
*/
public boolean await(boolean value, long timeout, TimeUnit unit)
throws InterruptedException {
diff --git a/utils/misc/src/main/java/org/onlab/util/BoundedThreadPool.java b/utils/misc/src/main/java/org/onlab/util/BoundedThreadPool.java
index 6fb1c90..9d476d2 100644
--- a/utils/misc/src/main/java/org/onlab/util/BoundedThreadPool.java
+++ b/utils/misc/src/main/java/org/onlab/util/BoundedThreadPool.java
@@ -66,7 +66,8 @@
/**
* Returns a fixed-size, bounded executor service.
*
- * @param threadFactory thread factory for the worker threads.
+ * @param numberOfThreads number of threads in the pool
+ * @param threadFactory thread factory for the worker threads.
* @return the bounded thread pool
*/
public static BoundedThreadPool newFixedThreadPool(int numberOfThreads, ThreadFactory threadFactory) {
@@ -112,6 +113,7 @@
// TODO schedule this with a fixed delay from a scheduled executor
private final AtomicLong lastPrinted = new AtomicLong(0L);
+
private void periodicallyPrintStats() {
long now = System.currentTimeMillis();
long prev = lastPrinted.get();