You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2018/06/20 22:31:14 UTC

commons-pool git commit: Format tweaks.

Repository: commons-pool
Updated Branches:
  refs/heads/master d10c8b5e0 -> 23ab04d38


Format tweaks.

Project: http://git-wip-us.apache.org/repos/asf/commons-pool/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-pool/commit/23ab04d3
Tree: http://git-wip-us.apache.org/repos/asf/commons-pool/tree/23ab04d3
Diff: http://git-wip-us.apache.org/repos/asf/commons-pool/diff/23ab04d3

Branch: refs/heads/master
Commit: 23ab04d381d87ffa2503c7b2a18d682c77acddab
Parents: d10c8b5
Author: Gary Gregory <ga...@gmail.com>
Authored: Wed Jun 20 16:31:11 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Wed Jun 20 16:31:11 2018 -0600

----------------------------------------------------------------------
 .../pool2/impl/GenericObjectPoolMXBean.java     | 38 ++++++++++++++++++++
 1 file changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-pool/blob/23ab04d3/src/main/java/org/apache/commons/pool2/impl/GenericObjectPoolMXBean.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/pool2/impl/GenericObjectPoolMXBean.java b/src/main/java/org/apache/commons/pool2/impl/GenericObjectPoolMXBean.java
index 6fb2ce1..3b1d9e1 100644
--- a/src/main/java/org/apache/commons/pool2/impl/GenericObjectPoolMXBean.java
+++ b/src/main/java/org/apache/commons/pool2/impl/GenericObjectPoolMXBean.java
@@ -31,149 +31,180 @@ import java.util.Set;
  * @since 2.0
  */
 public interface GenericObjectPoolMXBean {
+
     // Getters for basic configuration settings
+    
     /**
      * See {@link GenericObjectPool#getBlockWhenExhausted()}
      * @return See {@link GenericObjectPool#getBlockWhenExhausted()}
      */
     boolean getBlockWhenExhausted();
+    
     /**
      * See {@link GenericObjectPool#getLifo()}
      * @return See {@link GenericObjectPool#getLifo()}
      */
     boolean getFairness();
+    
     /**
      * See {@link GenericObjectPool#getFairness()}
      * @return See {@link GenericObjectPool#getFairness()}
      */
     boolean getLifo();
+    
     /**
      * See {@link GenericObjectPool#getMaxIdle()}
      * @return See {@link GenericObjectPool#getMaxIdle()}
      */
     int getMaxIdle();
+    
     /**
      * See {@link GenericObjectPool#getMaxTotal()}
      * @return See {@link GenericObjectPool#getMaxTotal()}
      */
     int getMaxTotal();
+    
     /**
      * See {@link GenericObjectPool#getMaxWaitMillis()}
      * @return See {@link GenericObjectPool#getMaxWaitMillis()}
      */
     long getMaxWaitMillis();
+    
     /**
      * See {@link GenericObjectPool#getMinEvictableIdleTimeMillis()}
      * @return See {@link GenericObjectPool#getMinEvictableIdleTimeMillis()}
      */
     long getMinEvictableIdleTimeMillis();
+    
     /**
      * See {@link GenericObjectPool#getMinIdle()}
      * @return See {@link GenericObjectPool#getMinIdle()}
      */
     int getMinIdle();
+    
     /**
      * See {@link GenericObjectPool#getNumActive()}
      * @return See {@link GenericObjectPool#getNumActive()}
      */
     int getNumActive();
+    
     /**
      * See {@link GenericObjectPool#getNumIdle()}
      * @return See {@link GenericObjectPool#getNumIdle()}
      */
     int getNumIdle();
+    
     /**
      * See {@link GenericObjectPool#getNumTestsPerEvictionRun()}
      * @return See {@link GenericObjectPool#getNumTestsPerEvictionRun()}
      */
     int getNumTestsPerEvictionRun();
+    
     /**
      * See {@link GenericObjectPool#getTestOnCreate()}
      * @return See {@link GenericObjectPool#getTestOnCreate()}
      * @since 2.2
      */
     boolean getTestOnCreate();
+    
     /**
      * See {@link GenericObjectPool#getTestOnBorrow()}
      * @return See {@link GenericObjectPool#getTestOnBorrow()}
      */
     boolean getTestOnBorrow();
+    
     /**
      * See {@link GenericObjectPool#getTestOnReturn()}
      * @return See {@link GenericObjectPool#getTestOnReturn()}
      */
     boolean getTestOnReturn();
+    
     /**
      * See {@link GenericObjectPool#getTestWhileIdle()}
      * @return See {@link GenericObjectPool#getTestWhileIdle()}
      */
     boolean getTestWhileIdle();
+    
     /**
      * See {@link GenericObjectPool#getTimeBetweenEvictionRunsMillis()}
      * @return See {@link GenericObjectPool#getTimeBetweenEvictionRunsMillis()}
      */
     long getTimeBetweenEvictionRunsMillis();
+    
     /**
      * See {@link GenericObjectPool#isClosed()}
      * @return See {@link GenericObjectPool#isClosed()}
      */
     boolean isClosed();
+    
     // Getters for monitoring attributes
+    
     /**
      * See {@link GenericObjectPool#getBorrowedCount()}
      * @return See {@link GenericObjectPool#getBorrowedCount()}
      */
     long getBorrowedCount();
+    
     /**
      * See {@link GenericObjectPool#getReturnedCount()}
      * @return See {@link GenericObjectPool#getReturnedCount()}
      */
     long getReturnedCount();
+    
     /**
      * See {@link GenericObjectPool#getCreatedCount()}
      * @return See {@link GenericObjectPool#getCreatedCount()}
      */
     long getCreatedCount();
+    
     /**
      * See {@link GenericObjectPool#getDestroyedCount()}
      * @return See {@link GenericObjectPool#getDestroyedCount()}
      */
     long getDestroyedCount();
+    
     /**
      * See {@link GenericObjectPool#getDestroyedByEvictorCount()}
      * @return See {@link GenericObjectPool#getDestroyedByEvictorCount()}
      */
     long getDestroyedByEvictorCount();
+    
     /**
      * See {@link GenericObjectPool#getDestroyedByBorrowValidationCount()}
      * @return See {@link GenericObjectPool#getDestroyedByBorrowValidationCount()}
      */
     long getDestroyedByBorrowValidationCount();
+    
     /**
      * See {@link GenericObjectPool#getMeanActiveTimeMillis()}
      * @return See {@link GenericObjectPool#getMeanActiveTimeMillis()}
      */
     long getMeanActiveTimeMillis();
+    
     /**
      * See {@link GenericObjectPool#getMeanIdleTimeMillis()}
      * @return See {@link GenericObjectPool#getMeanIdleTimeMillis()}
      */
     long getMeanIdleTimeMillis();
+    
     /**
      * See {@link GenericObjectPool#getMeanBorrowWaitTimeMillis()}
      * @return See {@link GenericObjectPool#getMeanBorrowWaitTimeMillis()}
      */
     long getMeanBorrowWaitTimeMillis();
+    
     /**
      * See {@link GenericObjectPool#getMaxBorrowWaitTimeMillis()}
      * @return See {@link GenericObjectPool#getMaxBorrowWaitTimeMillis()}
      */
     long getMaxBorrowWaitTimeMillis();
+    
     /**
      * See {@link GenericObjectPool#getCreationStackTrace()}
      * @return See {@link GenericObjectPool#getCreationStackTrace()}
      */
     String getCreationStackTrace();
+    
     /**
      * See {@link GenericObjectPool#getNumWaiters()}
      * @return See {@link GenericObjectPool#getNumWaiters()}
@@ -181,36 +212,43 @@ public interface GenericObjectPoolMXBean {
     int getNumWaiters();
 
     // Getters for abandoned object removal configuration
+    
     /**
      * See {@link GenericObjectPool#isAbandonedConfig()}
      * @return See {@link GenericObjectPool#isAbandonedConfig()}
      */
     boolean isAbandonedConfig();
+    
     /**
      * See {@link GenericObjectPool#getLogAbandoned()}
      * @return See {@link GenericObjectPool#getLogAbandoned()}
      */
     boolean getLogAbandoned();
+    
     /**
      * See {@link GenericObjectPool#getRemoveAbandonedOnBorrow()}
      * @return See {@link GenericObjectPool#getRemoveAbandonedOnBorrow()}
      */
     boolean getRemoveAbandonedOnBorrow();
+    
     /**
      * See {@link GenericObjectPool#getRemoveAbandonedOnMaintenance()}
      * @return See {@link GenericObjectPool#getRemoveAbandonedOnMaintenance()}
      */
     boolean getRemoveAbandonedOnMaintenance();
+    
     /**
      * See {@link GenericObjectPool#getRemoveAbandonedTimeout()}
      * @return See {@link GenericObjectPool#getRemoveAbandonedTimeout()}
      */
     int getRemoveAbandonedTimeout();
+    
     /**
      * See {@link GenericObjectPool#getFactoryType()}
      * @return See {@link GenericObjectPool#getFactoryType()}
      */
     String getFactoryType();
+    
     /**
      * See {@link GenericObjectPool#listAllObjects()}
      * @return See {@link GenericObjectPool#listAllObjects()}