@Module public class StatelessPool<X,T> extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StatelessPool.Item<X> |
Modifier and Type | Method and Description |
---|---|
StatelessPool.Item<X> |
allocate() |
void |
destroy() |
void |
destroy(StatelessPool.Item<X> beanItem) |
void |
discard(StatelessPool.Item<X> beanItem) |
void |
free(StatelessPool.Item<X> beanItem) |
X |
getLifecycleInstance() |
StatelessPool.Item<X> |
getLifecycleItem() |
java.lang.Class<?> |
getLocalApi() |
java.lang.String |
toString() |
public StatelessPool.Item<X> allocate()
public X getLifecycleInstance()
public StatelessPool.Item<X> getLifecycleItem()
public void free(StatelessPool.Item<X> beanItem)
public void destroy(StatelessPool.Item<X> beanItem)
public void discard(StatelessPool.Item<X> beanItem)
public java.lang.Class<?> getLocalApi()
public void destroy()
public java.lang.String toString()
toString
in class java.lang.Object