public interface ObjectPool extends Initialisable, Disposable
ObjectPool
is a simple pooling interface for objectsPHASE_NAME
PHASE_NAME
Modifier and Type | Method and Description |
---|---|
Object |
borrowObject() |
void |
clear() |
void |
close() |
int |
getMaxActive() |
int |
getNumActive() |
ObjectFactory |
getObjectFactory() |
void |
returnObject(Object object) |
void |
setObjectFactory(ObjectFactory objectFactory) |
initialise
dispose
void returnObject(Object object)
int getNumActive()
int getMaxActive()
void clear()
void close()
void setObjectFactory(ObjectFactory objectFactory)
ObjectFactory getObjectFactory()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.