Package org.apache.hadoop.ozone
Class DNMXBeanImpl
java.lang.Object
org.apache.hadoop.hdds.server.ServiceRuntimeInfoImpl
org.apache.hadoop.ozone.DNMXBeanImpl
- All Implemented Interfaces:
org.apache.hadoop.hdds.server.ServiceRuntimeInfo,DNMXBean
public class DNMXBeanImpl
extends org.apache.hadoop.hdds.server.ServiceRuntimeInfoImpl
implements DNMXBean
This is the JMX management class for DN information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the client rpc port.Gets the datanode hostname.Gets the http port.Gets the https port.voidsetClientRpcPort(String rpcPort) voidsetHostName(String hostName) voidsetHttpPort(String httpPort) voidsetHttpsPort(String httpsPort) Methods inherited from class org.apache.hadoop.hdds.server.ServiceRuntimeInfoImpl
getSoftwareVersion, getStartedTimeInMillis, getVersion, setStartTimeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hdds.server.ServiceRuntimeInfo
getNamespace, getSoftwareVersion, getStartedTimeInMillis, getVersion
-
Constructor Details
-
DNMXBeanImpl
public DNMXBeanImpl(org.apache.hadoop.hdds.utils.VersionInfo versionInfo)
-
-
Method Details
-
getHostname
Description copied from interface:DNMXBeanGets the datanode hostname.- Specified by:
getHostnamein interfaceDNMXBean- Returns:
- the datanode hostname for the datanode.
-
getClientRpcPort
Description copied from interface:DNMXBeanGets the client rpc port.- Specified by:
getClientRpcPortin interfaceDNMXBean- Returns:
- the client rpc port
-
getHttpPort
Description copied from interface:DNMXBeanGets the http port.- Specified by:
getHttpPortin interfaceDNMXBean- Returns:
- the http port
-
getHttpsPort
Description copied from interface:DNMXBeanGets the https port.- Specified by:
getHttpsPortin interfaceDNMXBean- Returns:
- the http port
-
setHttpPort
-
setHostName
-
setClientRpcPort
-
getHostName
-
setHttpsPort
-