@@ -72,6 +72,7 @@ final class EvictionIterator implements Iterator<PooledObject<T>> {
7272
7373 /**
7474 * Constructs an EvictionIterator for the provided idle instance deque.
75+ *
7576 * @param idleObjects underlying deque.
7677 */
7778 EvictionIterator (final Deque <PooledObject <T >> idleObjects ) {
@@ -86,6 +87,7 @@ final class EvictionIterator implements Iterator<PooledObject<T>> {
8687
8788 /**
8889 * Gets the idle object deque referenced by this iterator.
90+ *
8991 * @return the idle object deque
9092 */
9193 public Deque <PooledObject <T >> getIdleObjects () {
@@ -459,6 +461,7 @@ String appendStats(final String string) {
459461
460462 /**
461463 * Verifies that the pool is open.
464+ *
462465 * @throws IllegalStateException if the pool is closed.
463466 */
464467 final void assertOpen () throws IllegalStateException {
@@ -476,6 +479,7 @@ final void assertOpen() throws IllegalStateException {
476479
477480 /**
478481 * Creates a list of pooled objects to remove based on their state.
482+ *
479483 * @param abandonedConfig The abandoned configuration.
480484 * @param allObjects PooledObject instances to consider.
481485 * @return a list of pooled objects to remove based on their state.
@@ -508,6 +512,7 @@ final Duration durationSince(final Instant startInstant) {
508512 /**
509513 * Tries to ensure that the configured minimum number of idle instances are
510514 * available in the pool.
515+ *
511516 * @throws Exception if an error occurs creating idle instances
512517 */
513518 abstract void ensureMinIdle () throws Exception ;
@@ -541,6 +546,7 @@ public final boolean getBlockWhenExhausted() {
541546 /**
542547 * Gets the total number of objects successfully borrowed from this pool over the
543548 * lifetime of the pool.
549+ *
544550 * @return the borrowed object count
545551 */
546552 public final long getBorrowedCount () {
@@ -564,6 +570,7 @@ public boolean getCollectDetailedStatistics() {
564570 /**
565571 * Gets the total number of objects created for this pool over the lifetime of
566572 * the pool.
573+ *
567574 * @return the created object count
568575 */
569576 public final long getCreatedCount () {
@@ -576,6 +583,7 @@ public final long getCreatedCount() {
576583 * deregistered when no longer used by calling the {@link #close()} method.
577584 * This method is provided to assist with identifying code that creates but
578585 * does not close it thereby creating a memory leak.
586+ *
579587 * @return pool creation stack trace
580588 */
581589 public final String getCreationStackTrace () {
@@ -586,6 +594,7 @@ public final String getCreationStackTrace() {
586594 * Gets the total number of objects destroyed by this pool as a result of failing
587595 * validation during {@code borrowObject()} over the lifetime of the
588596 * pool.
597+ *
589598 * @return validation destroyed object count
590599 */
591600 public final long getDestroyedByBorrowValidationCount () {
@@ -595,6 +604,7 @@ public final long getDestroyedByBorrowValidationCount() {
595604 /**
596605 * Gets the total number of objects destroyed by the evictor associated with this
597606 * pool over the lifetime of the pool.
607+ *
598608 * @return the evictor destroyed object count
599609 */
600610 public final long getDestroyedByEvictorCount () {
@@ -604,6 +614,7 @@ public final long getDestroyedByEvictorCount() {
604614 /**
605615 * Gets the total number of objects destroyed by this pool over the lifetime of
606616 * the pool.
617+ *
607618 * @return the destroyed object count
608619 */
609620 public final long getDestroyedCount () {
@@ -702,6 +713,7 @@ public final boolean getFairness() {
702713 * Gets the name under which the pool has been registered with the
703714 * platform MBean server or {@code null} if the pool has not been
704715 * registered.
716+ *
705717 * @return the JMX name
706718 */
707719 public final ObjectName getJmxName () {
@@ -813,6 +825,7 @@ public final long getMaxWaitMillis() {
813825 /**
814826 * Gets the mean time objects are active for based on the last {@link
815827 * #MEAN_TIMING_STATS_CACHE_SIZE} objects returned to the pool.
828+ *
816829 * @return mean time an object has been checked out from the pool among
817830 * recently returned objects.
818831 *
@@ -825,6 +838,7 @@ public final Duration getMeanActiveDuration() {
825838 /**
826839 * Gets the mean time objects are active for based on the last {@link
827840 * #MEAN_TIMING_STATS_CACHE_SIZE} objects returned to the pool.
841+ *
828842 * @return mean time an object has been checked out from the pool among
829843 * recently returned objects.
830844 *
@@ -955,6 +969,7 @@ public final long getMinEvictableIdleTimeMillis() {
955969
956970 /**
957971 * Gets the number of instances currently idle in this pool.
972+ *
958973 * @return count of instances available for checkout from the pool
959974 */
960975 public abstract int getNumIdle ();
@@ -1042,6 +1057,7 @@ public Duration getRemoveAbandonedTimeoutDuration() {
10421057 * Gets the total number of objects returned to this pool over the lifetime of
10431058 * the pool. This excludes attempts to return the same object multiple
10441059 * times.
1060+ *
10451061 * @return the returned object count
10461062 */
10471063 public final long getReturnedCount () {
@@ -1113,6 +1129,7 @@ public final long getSoftMinEvictableIdleTimeMillis() {
11131129
11141130 /**
11151131 * Gets the stack trace of an exception as a string.
1132+ *
11161133 * @param e exception to trace
11171134 * @return exception stack trace as a string
11181135 */
@@ -1348,6 +1365,7 @@ final void jmxUnregister() {
13481365
13491366 /**
13501367 * Marks the object as returning to the pool.
1368+ *
13511369 * @param pooledObject instance to return to the keyed pool
13521370 */
13531371 protected void markReturningState (final PooledObject <T > pooledObject ) {
0 commit comments