Skip to content
Permalink
Browse files
Add package private accessor in Evictor to its owner pool.
  • Loading branch information
garydgregory committed Jan 23, 2022
1 parent 422caaf commit 093d247cda89e42169ffda87477c041bcf04fa48
Showing 1 changed file with 3 additions and 1 deletion.
@@ -128,6 +128,9 @@ void cancel() {
scheduledFuture.cancel(false);
}

BaseGenericObjectPool<T> owner() {
return BaseGenericObjectPool.this;
}

/**
* Run pool maintenance. Evict objects qualifying for eviction and then
@@ -177,7 +180,6 @@ public void run() {
}
}


/**
* Sets the scheduled future.
*

0 comments on commit 093d247

Please sign in to comment.