Module Expr Str Import alias Import alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body TryExcept body Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str handlers ExceptHandler type NameLoad name NameStore body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad AttributeLoad NameLoad attr attr decorator_list
N/A N/A 
Manage the connection to the MongoDB server.
 N/A tornado.gen N/A tornado.ioloop N/A motor MongoMgr N/A object N/A __init__ N/A N/A self app N/A N/A N/A N/A self app app N/A N/A self log N/A N/A self app log N/A N/A self mongo None N/A N/A self mongoavailable False N/A N/A self mongotimerbusy False N/A init_timers N/A N/A self N/A N/A N/A ioloop N/A N/A N/A N/A tornado ioloop IOLoop instance N/A N/A N/A ioloop add_callback N/A self monitor_mongo_status N/A res N/A N/A N/A tornado ioloop PeriodicCallback N/A self monitor_mongo_status 3000 N/A N/A N/A res start N/A close N/A N/A self N/A N/A N/A Close the connection to mongodb. (The monitor will start it
        right back up again, or try to.)
         N/A N/A self mongo N/A N/A N/A N/A N/A N/A N/A self mongo disconnect N/A N/A N/A Exception N/A ex N/A N/A N/A N/A N/A self log error Problem disconnecting mongo: %s ex N/A N/A self mongo None N/A N/A N/A self app mongodb None N/A monitor_mongo_status N/A N/A self N/A N/A N/A N/A self mongotimerbusy N/A N/A N/A N/A N/A self log warning monitor_mongo_status: already in flight; did a previous call jam? N/A N/A N/A N/A self app shuttingdown N/A N/A N/A N/A N/A self log warning monitor_mongo_status: server is shutting down, never mind N/A N/A N/A self mongotimerbusy True N/A N/A self mongoavailable N/A N/A N/A N/A res N/A N/A N/A motor Op N/A N/A N/A self mongo admin command ping N/A N/A res N/A N/A N/A N/A N/A self log error Mongo client not alive N/A N/A self mongoavailable False N/A N/A N/A Exception N/A ex N/A N/A N/A N/A N/A self log error Mongo client not alive: %s ex N/A N/A self mongoavailable False N/A N/A N/A self mongoavailable N/A N/A N/A N/A self close N/A N/A N/A self mongoavailable N/A N/A N/A N/A N/A self mongo N/A N/A motor MotorClient tz_aware True N/A res N/A N/A N/A motor Op N/A N/A self mongo open N/A N/A self mongoavailable True N/A N/A N/A self app mongodb N/A N/A self mongo N/A N/A N/A N/A self app opts mongo_database N/A N/A N/A N/A self log info Mongo client open N/A N/A N/A N/A self app queue_command N/A cmd dbconnected N/A N/A N/A Exception N/A ex N/A N/A N/A self mongoavailable False N/A N/A N/A self app mongodb None N/A N/A N/A N/A self log error Mongo client not open: %s ex N/A N/A self mongotimerbusy False N/A N/A N/A tornado gen coroutine N/A