|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SimplePool.PoolItemCallback<T>
User of the pool provide an implementation of this interface; called during various pool operations.
Method Summary | |
---|---|
T |
createForPool()
Called by the pool when a new instance is required to populate the pool. |
boolean |
isStale(T item)
Called by the pool when an idle item is retrieved from the pool. |
void |
removedFromPool(T item)
Called by the pool when an item is forcibly removed from the pool - for example when the pool size is reduced. |
Method Detail |
---|
T createForPool()
boolean isStale(T item)
item
- The item.
void removedFromPool(T item)
item
- The item.
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |