public static class DatanodeInfo.DatanodeInfoBuilder extends Object
Constructor and Description |
---|
DatanodeInfo.DatanodeInfoBuilder() |
public DatanodeInfo.DatanodeInfoBuilder setFrom(org.apache.hadoop.hdfs.protocol.DatanodeInfo from)
public DatanodeInfo.DatanodeInfoBuilder setNodeID(org.apache.hadoop.hdfs.protocol.DatanodeID nodeID)
public DatanodeInfo.DatanodeInfoBuilder setCapacity(long capacity)
public DatanodeInfo.DatanodeInfoBuilder setDfsUsed(long dfsUsed)
public DatanodeInfo.DatanodeInfoBuilder setRemaining(long remaining)
public DatanodeInfo.DatanodeInfoBuilder setBlockPoolUsed(long blockPoolUsed)
public DatanodeInfo.DatanodeInfoBuilder setCacheCapacity(long cacheCapacity)
public DatanodeInfo.DatanodeInfoBuilder setCacheUsed(long cacheUsed)
public DatanodeInfo.DatanodeInfoBuilder setLastUpdate(long lastUpdate)
public DatanodeInfo.DatanodeInfoBuilder setLastUpdateMonotonic(long lastUpdateMonotonic)
public DatanodeInfo.DatanodeInfoBuilder setXceiverCount(int xceiverCount)
public DatanodeInfo.DatanodeInfoBuilder setAdminState(DatanodeInfo.AdminStates adminState)
public DatanodeInfo.DatanodeInfoBuilder setUpgradeDomain(String upgradeDomain)
public DatanodeInfo.DatanodeInfoBuilder setIpAddr(String ipAddr)
public DatanodeInfo.DatanodeInfoBuilder setHostName(String hostName)
public DatanodeInfo.DatanodeInfoBuilder setDatanodeUuid(String datanodeUuid)
public DatanodeInfo.DatanodeInfoBuilder setXferPort(int xferPort)
public DatanodeInfo.DatanodeInfoBuilder setInfoPort(int infoPort)
public DatanodeInfo.DatanodeInfoBuilder setInfoSecurePort(int infoSecurePort)
public DatanodeInfo.DatanodeInfoBuilder setIpcPort(int ipcPort)
public DatanodeInfo.DatanodeInfoBuilder setNetworkLocation(String networkLocation)
public DatanodeInfo.DatanodeInfoBuilder setNonDfsUsed(long nonDfsUsed)
public DatanodeInfo.DatanodeInfoBuilder setLastBlockReportTime(long time)
public DatanodeInfo.DatanodeInfoBuilder setLastBlockReportMonotonic(long time)
public org.apache.hadoop.hdfs.protocol.DatanodeInfo build()
Copyright © 2018 Apache Software Foundation. All Rights Reserved.