Uses of Class
com.mongodb.CommandResult

Packages that use CommandResult
com.mongodb Main package with core files. 
 

Uses of CommandResult in com.mongodb
 

Methods in com.mongodb that return CommandResult
 CommandResult DB.authenticateCommand(String username, char[] passwd)
          Authenticates to db with the given name and password
 CommandResult DB.command(DBObject cmd)
          Executes a database command.
 CommandResult DB.command(DBObject cmd, int options)
          Executes a database command.
 CommandResult DB.command(String cmd)
          Executes a database command.
 CommandResult DB.command(String cmd, int options)
          Executes a database command.
 CommandResult DB.doEval(String code, Object... args)
          evaluates a function on the database.
 CommandResult WriteResult.getCachedLastError()
          Gets the last result from getLastError()
 CommandResult WriteResult.getLastError()
          calls WriteResult.getLastError(com.mongodb.WriteConcern) with concern=null
 CommandResult DB.getLastError()
          Gets the the error (if there is one) from the previous operation on this connection.
 CommandResult DB.getLastError(int w, int wtimeout, boolean fsync)
           
 CommandResult WriteResult.getLastError(WriteConcern concern)
          This method does following: - returns the existing CommandResult if concern is null or less strict than the concern it was obtained with - otherwise attempts to obtain a CommandResult by calling getLastError with the concern
 CommandResult DB.getLastError(WriteConcern concern)
           
 CommandResult DB.getPreviousError()
          Returns the last error that occurred since start of database or a call to resetError() The return object will look like
 CommandResult DBCollection.getStats()
          gets the collections statistics ("collstats" command)
 CommandResult DB.getStats()
          Returns the result of "dbstats" command