public class GenericPool<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericPool.PoolEntry<T> |
| Constructor and Description |
|---|
GenericPool(Class<?> clazz) |
GenericPool(Class<?> clazz,
int size) |
GenericPool(GenericPoolFactory genericPoolAllocator,
int size) |
| Modifier and Type | Method and Description |
|---|---|
GenericPool.PoolEntry<T> |
borrowFromPool() |
long |
getWaitCount() |
void |
init(int size) |
void |
returnToPool(GenericPool.PoolEntry<T> item) |
public GenericPool(Class<?> clazz)
public GenericPool(Class<?> clazz, int size)
public GenericPool(GenericPoolFactory genericPoolAllocator, int size)
public void init(int size)
public long getWaitCount()
public GenericPool.PoolEntry<T> borrowFromPool()
public void returnToPool(GenericPool.PoolEntry<T> item)
Copyright 2004-2019 Solace Corporation. All rights reserved.