com.mongodb
Class DBPort
java.lang.Object
com.mongodb.DBPort
public class DBPort
- extends Object
Field Summary |
static int |
PORT
|
PORT
public static final int PORT
- See Also:
- Constant Field Values
DBPort
public DBPort(ServerAddress addr)
ensureOpen
public void ensureOpen()
throws IOException
- Throws:
IOException
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
host
public String host()
toString
public String toString()
- Overrides:
toString
in class Object
finalize
protected void finalize()
- Overrides:
finalize
in class Object
close
protected void close()