public interface Pool
| Modifier and Type | Method and Description |
|---|---|
void |
destroyObject(Object obj)
Destroys an Object.
|
Object |
getObject(boolean canWait,
Object param)
Deprecated.
|
Object |
getObject(long maxWaitTime,
Object param)
Deprecated.
|
Object |
getObject(Object param)
Get an object from the pool within the specified time.
|
void |
returnObject(Object obj)
Return an object back to the pool.
|
Object getObject(boolean canWait, Object param) throws PoolException
PoolExceptionObject getObject(long maxWaitTime, Object param) throws PoolException
PoolExceptionObject getObject(Object param) throws PoolException
The - amount of time the calling thread agrees to wait.Some - value that might be used while creating the objectThrows - PoolException if an object cannot be createdPoolExceptionvoid returnObject(Object obj)
void destroyObject(Object obj)
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.