java.lang.Object | ||
↳ | com.mongodb.util.SimplePool<T> | |
↳ | com.mongodb.DBPortPool |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DBPortPool.ConnectionWaitTimeOut | |||||||||||
DBPortPool.NoMoreConnection | |||||||||||
DBPortPool.SemaphoresOut |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
override this if you need to do any cleanup
| |||||||||||
Gets an object from the pool - will block if none are available
| |||||||||||
callback to determine if an object is ok to be added back to the pool or used
will be called when something is put back into the queue and when it comes out
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new object of this pool's type.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Gets an object from the pool - will block if none are available
callback to determine if an object is ok to be added back to the pool or used will be called when something is put back into the queue and when it comes out