Class CurrentOpOperation

java.lang.Object
com.mongodb.operation.CurrentOpOperation
All Implemented Interfaces:
ReadOperation<BsonDocument>

@Deprecated public class CurrentOpOperation extends Object implements ReadOperation<BsonDocument>
Deprecated.
An operation that determines the current operation on a MongoDB server.
Since:
3.2
  • Constructor Details

    • CurrentOpOperation

      public CurrentOpOperation()
      Deprecated.
  • Method Details

    • execute

      public BsonDocument execute(ReadBinding binding)
      Deprecated.
      Description copied from interface: ReadOperation
      General execute which can return anything of type T
      Specified by:
      execute in interface ReadOperation<BsonDocument>
      Parameters:
      binding - the binding to execute in the context of
      Returns:
      T, the result of the execution