mirror of https://github.com/apache/cassandra
Mark StreamingMetrics.ActiveOutboundStreams as deprecated
patch by Benjamin Lerer; reviewed by Mick Semb Wever for CASSANDRA-11174
This commit is contained in:
parent
ecc7c2fc39
commit
28e8632c97
|
|
@ -1,4 +1,5 @@
|
|||
4.0-beta5
|
||||
* Mark StreamingMetrics.ActiveOutboundStreams as deprecated (CASSANDRA-11174)
|
||||
* Increase the cqlsh version number (CASSANDRA-16509)
|
||||
* Fix the CQL generated for the views.where_clause column when some identifiers require quoting (CASSANDRA-16479)
|
||||
* Send FAILED_SESSION_MSG on shutdown and on in-progress repairs during startup (CASSANDRA-16425)
|
||||
|
|
|
|||
3
NEWS.txt
3
NEWS.txt
|
|
@ -288,6 +288,9 @@ Upgrading
|
|||
Deprecation
|
||||
-----------
|
||||
|
||||
- The JMX MBean org.apache.cassandra.metrics:type=Streaming,name=ActiveOutboundStreams has been
|
||||
deprecated and will be removed in a subsequent major version. This metric was not updated since several version
|
||||
already.
|
||||
- The JMX MBean org.apache.cassandra.db:type=BlacklistedDirectories has been
|
||||
deprecated in favor of org.apache.cassandra.db:type=DisallowedDirectories
|
||||
and will be removed in a subsequent major version.
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ public class StreamingMetrics
|
|||
|
||||
private static final ConcurrentMap<InetAddressAndPort, StreamingMetrics> instances = new NonBlockingHashMap<>();
|
||||
|
||||
@Deprecated
|
||||
public static final Counter activeStreamsOutbound = Metrics.counter(DefaultNameFactory.createMetricName(TYPE_NAME, "ActiveOutboundStreams", null));
|
||||
public static final Counter totalIncomingBytes = Metrics.counter(DefaultNameFactory.createMetricName(TYPE_NAME, "TotalIncomingBytes", null));
|
||||
public static final Counter totalOutgoingBytes = Metrics.counter(DefaultNameFactory.createMetricName(TYPE_NAME, "TotalOutgoingBytes", null));
|
||||
|
|
|
|||
Loading…
Reference in New Issue