CurrentOp |
CurrentOp.allUsers(boolean allUsers) |
If set to false, $currentOp will only report on operations/idle connections/idle cursors/idle sessions belonging to the user who
ran the command.
|
static CurrentOp |
CurrentOp.currentOp() |
Creates a new stage
|
CurrentOp |
CurrentOp.idleConnections(boolean idleConnections) |
If set to false, $currentOp will only report active operations.
|
CurrentOp |
CurrentOp.idleCursors(boolean idleCursors) |
If set to true, $currentOp will report on cursors that are “idle”; i.e. open but not currently active in a getMore operation.
|
CurrentOp |
CurrentOp.idleSessions(boolean idleSessions) |
Include idle sessions or not
|
CurrentOp |
CurrentOp.localOps(boolean localOps) |
If set to true for an aggregation running on mongos, $currentOp reports only those operations running locally on that mongos.
|
static CurrentOp |
CurrentOp.of() |
Deprecated, for removal: This API element is subject to removal in a future version.
|