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() {
680680 * <p>Default is {@code false}.</p>
681681 *
682682 * @return true if JMX beans should always be MBeans
683+ * @deprecated there is no replacement for this property
683684 */
685+ @ Deprecated
684686 public boolean isAlwaysUseMBeans () {
685687 return alwaysUseMBeans ;
686688 }
@@ -1460,7 +1462,9 @@ public Builder cursorFinalizerEnabled(final boolean cursorFinalizerEnabled) {
14601462 * @param alwaysUseMBeans true if driver should always use MBeans, regardless of VM version
14611463 * @return this
14621464 * @see MongoClientOptions#isAlwaysUseMBeans()
1465+ * @deprecated there is no replacement for this property
14631466 */
1467+ @ Deprecated
14641468 public Builder alwaysUseMBeans (final boolean alwaysUseMBeans ) {
14651469 this .alwaysUseMBeans = alwaysUseMBeans ;
14661470 return this ;
You can’t perform that action at this time.
0 commit comments