java.lang.Object | ||
↳ | com.mongodb.util.SimplePool<T> | |
↳ | com.mongodb.DBPortPool |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DBPortPool.ConnectionWaitTimeOut | |||||||||||
DBPortPool.NoMoreConnection | |||||||||||
DBPortPool.SemaphoresOut |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.mongodb.util.SimplePool
|
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.mongodb.util.SimplePool
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.management.DynamicMBean
|
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