File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
driver-legacy/src/main/com/mongodb Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -680,7 +680,9 @@ public DBEncoderFactory getDbEncoderFactory() {
680
680
* <p>Default is {@code false}.</p>
681
681
*
682
682
* @return true if JMX beans should always be MBeans
683
+ * @deprecated there is no replacement for this property
683
684
*/
685
+ @ Deprecated
684
686
public boolean isAlwaysUseMBeans () {
685
687
return alwaysUseMBeans ;
686
688
}
@@ -1460,7 +1462,9 @@ public Builder cursorFinalizerEnabled(final boolean cursorFinalizerEnabled) {
1460
1462
* @param alwaysUseMBeans true if driver should always use MBeans, regardless of VM version
1461
1463
* @return this
1462
1464
* @see MongoClientOptions#isAlwaysUseMBeans()
1465
+ * @deprecated there is no replacement for this property
1463
1466
*/
1467
+ @ Deprecated
1464
1468
public Builder alwaysUseMBeans (final boolean alwaysUseMBeans ) {
1465
1469
this .alwaysUseMBeans = alwaysUseMBeans ;
1466
1470
return this ;
You can’t perform that action at this time.
0 commit comments