diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado/util')
4 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 896802d..05d2c09 100644 --- a/src/main/java/com/amazon/carbonado/util/AbstractPool.java +++ b/src/main/java/com/amazon/carbonado/util/AbstractPool.java @@ -29,6 +29,7 @@ import java.util.concurrent.locks.Lock; * lazily created and pooled.
*
* @author Brian S O'Neill
+ * @since 1.2
*/
public abstract class AbstractPool<K, V, E extends Exception> {
private final ConcurrentMap<K, V> mValues;
diff --git a/src/main/java/com/amazon/carbonado/util/AbstractWeakPool.java b/src/main/java/com/amazon/carbonado/util/AbstractWeakPool.java index 8ae5476..79bc4d5 100644 --- a/src/main/java/com/amazon/carbonado/util/AbstractWeakPool.java +++ b/src/main/java/com/amazon/carbonado/util/AbstractWeakPool.java @@ -31,6 +31,7 @@ import java.util.concurrent.ConcurrentMap; *
* @author Brian S O'Neill
* @see AbstractPool
+ * @since 1.2
*/
abstract class AbstractWeakPool<K, V, E extends Exception> {
private final ConcurrentMap<K, ValueRef<K, V>> mValues;
diff --git a/src/main/java/com/amazon/carbonado/util/WeakReentrantLockPool.java b/src/main/java/com/amazon/carbonado/util/WeakReentrantLockPool.java index 5bfd58c..b44a823 100644 --- a/src/main/java/com/amazon/carbonado/util/WeakReentrantLockPool.java +++ b/src/main/java/com/amazon/carbonado/util/WeakReentrantLockPool.java @@ -25,6 +25,7 @@ import java.util.concurrent.locks.ReentrantLock; * mapped by key. Locks are created (and recreated) as needed.
*
* @author Brian S O'Neill
+ * @since 1.2
*/
class WeakReentrantLockPool<K>
extends AbstractWeakPool<K, ReentrantLock, RuntimeException>
diff --git a/src/main/java/com/amazon/carbonado/util/WeakReentrantReadWriteLockPool.java b/src/main/java/com/amazon/carbonado/util/WeakReentrantReadWriteLockPool.java index b41ad1f..3b0663e 100644 --- a/src/main/java/com/amazon/carbonado/util/WeakReentrantReadWriteLockPool.java +++ b/src/main/java/com/amazon/carbonado/util/WeakReentrantReadWriteLockPool.java @@ -25,6 +25,7 @@ import java.util.concurrent.locks.ReentrantReadWriteLock; * instances mapped by key. Locks are created (and recreated) as needed.
*
* @author Brian S O'Neill
+ * @since 1.2
*/
class WeakReentrantReadWriteLockPool<K>
extends AbstractWeakPool<K, ReentrantReadWriteLock, RuntimeException>
|