com.mongodb
Class DBPort
java.lang.Object
com.mongodb.DBPort
public class DBPort
- extends Object
PORT
public static final int PORT
- See Also:
- Constant Field Values
USE_NAGLE
static final boolean USE_NAGLE
- See Also:
- Constant Field Values
CONN_RETRY_TIME_MS
static final long CONN_RETRY_TIME_MS
- See Also:
- Constant Field Values
_hashCode
final int _hashCode
_addr
final InetSocketAddress _addr
_pool
final DBPortPool _pool
_options
final MongoOptions _options
_logger
final Logger _logger
DBPort
public DBPort(InetSocketAddress addr)
throws IOException
- Throws:
IOException
DBPort
DBPort(InetSocketAddress addr,
DBPortPool pool,
MongoOptions options)
throws IOException
- Throws:
IOException
call
DBMessage call(DBMessage msg,
ByteBuffer response)
throws IOException
- Parameters:
response - will get wiped
- Throws:
IOException
say
void say(DBMessage msg)
throws IOException
- Throws:
IOException
_reset
void _reset(ByteBuffer buf)
ensureOpen
public void ensureOpen()
throws IOException
- Throws:
IOException
_open
void _open()
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