T - the type of instances to be managedpublic interface IPoolManager<T>
pool. Depending
on the actual interface of <T> this interface may be implemented directly
or in terms of an anonymous class in order to keep the interface of <T> clean.| Modifier and Type | Method and Description |
|---|---|
void |
clear(T instance)
Clears an instance before releasing it.
|
T |
create()
Creates a new element in case that the pool is empty.
|
Copyright © 2009 - 2018 SSE. All Rights Reserved.