Interface sap.ui.base.PoolableModule: sap/ui/base/ObjectPool

known direct implementations: BaseNodeProxy, Event

Contract for objects that can be pooled by ObjectPool

Method Summary
init()Called by the object pool when this instance will be actived for a caller.
reset()Called by the object pool when an instance is returned to the pool.
Method Detail
init()
Called by the object pool when this instance will be actived for a caller. The same method will be called after a new instance has been created by an otherwise exhausted pool.

If the caller provided any arguments to sap.ui.base.ObjectPool#borrowObject all arguments will be propagated to this method.

reset()
Called by the object pool when an instance is returned to the pool. While no specific implementation is required, poolable objects in general should clean all caller specific state (set to null) in this method to avoid memory leaks and to enforce garbage collection of the caller state.