Class Overview
Mongo.Holder can be used as a static place to hold several instances of Mongo.
Security is not enforced at this level, and needs to be done on the application side.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
Attempts to find an existing Mongo instance matching that URI in the holder, and returns it if exists.
Otherwise creates a new Mongo instance based on this URI and adds it to the holder.@return