[JAVA-503] Add helper methods: setProfilingLevel, getProfilingLevel, getProfilingInfo Created: 06/Jan/12  Updated: 18/Aug/13  Resolved: 18/Aug/13

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Uladzimir Mihura Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: epam, helper
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 Description   

In the Mongo Driver Requirements:

High Priority

  • database profiling: set/get profiling level, get profiling info

Pymongo, as well as MongoDB shell supports this.

You can enable it through command, but I think separate method should be added.

db.command(BasicDBObjectBuilder.start().add("profile", 0).get());



 Comments   
Comment by Jeffrey Yemin [ 18/Aug/13 ]

Not going to add helpers for administrative commands like this. Otherwise, we'll have dozens of them.

Generated at Thu Feb 08 08:52:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.