diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado/util')
-rw-r--r-- | src/main/java/com/amazon/carbonado/util/AbstractPool.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/util/AbstractPool.java b/src/main/java/com/amazon/carbonado/util/AbstractPool.java index e14c387..d8bcc4e 100644 --- a/src/main/java/com/amazon/carbonado/util/AbstractPool.java +++ b/src/main/java/com/amazon/carbonado/util/AbstractPool.java @@ -88,6 +88,10 @@ public abstract class AbstractPool<K, V, E extends Exception> { return mValues.values();
}
+ public void clear() {
+ mValues.clear();
+ }
+
/**
* Return a new value instance.
*/
|