Class RouterMetrics
java.lang.Object
org.apache.hadoop.hdfs.server.federation.router.RouterMetrics
@Metrics(name="RouterActivity",
about="Router metrics",
context="dfs")
public class RouterMetrics
extends Object
This class is for maintaining the various Router activity statistics
and publishing them through the metrics interfaces.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RouterMetricscreate(org.apache.hadoop.conf.Configuration conf) org.apache.hadoop.metrics2.source.JvmMetricsvoidsetSafeModeTime(long elapsed) voidshutdown()
-
Method Details
-
create
-
getJvmMetrics
public org.apache.hadoop.metrics2.source.JvmMetrics getJvmMetrics() -
shutdown
public void shutdown() -
setSafeModeTime
public void setSafeModeTime(long elapsed)
-