maedhroz commented on a change in pull request #728:
URL: https://github.com/apache/cassandra/pull/728#discussion_r480267894
##########
File path: src/java/org/apache/cassandra/metrics/TableMetrics.java
##########
@@ -1027,6 +953,35 @@ public Long getValue()
return cfGauge;
}
+ /**
+ * Same as {@link #createTableGauge(String, Gauge, Gauge)} but accepts a
deprecated
+ * name for a table {@code Gauge}. Prefer that method when deprecation is
not necessary.
+ *
+ * @param name the name of the metric registered with the "Table" type
+ * @param deprecated the deprecated name for the metric registered with
the "Table" type
+ */
+ protected <G,T> Gauge<T> createTableGaugeWithDeprecation(String name,
String deprecated, Gauge<T> gauge, Gauge<G> globalGauge)
Review comment:
Either way, this should all get removed in trunk once we cut
`cassandra-4.0`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]