Use javax.management.monitor.CounterMonitor#setInitThreshold
MSALUse javax.management.monitor.CounterMonitor#setInitThreshold instead of the deprecated javax.management.monitor.CounterMonitor#setThreshold in JMX 1.2 or higher.
org. openrewrite. java. migrate. javax. MigrateCounterMonitorSetThresholdToSetInitThresholdmod run . --recipe= org. openrewrite. java. migrate. javax. MigrateCounterMonitorSetThresholdToSetInitThresholdInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.