@NotThreadSafe public class AlluxioMasterInfo extends Object
Constructor and Description |
---|
AlluxioMasterInfo()
Creates a new instance of
AlluxioMasterInfo . |
public AlluxioMasterInfo()
AlluxioMasterInfo
.public Capacity getCapacity()
public List<WorkerInfo> getLostWorkers()
public Map<String,MountPointInfo> getMountPoints()
public String getRpcAddress()
public long getStartTimeMs()
public Capacity getUfsCapacity()
public long getUptimeMs()
public String getVersion()
public List<WorkerInfo> getWorkers()
public AlluxioMasterInfo setCapacity(Capacity capacity)
capacity
- the capacity to usepublic AlluxioMasterInfo setConfiguration(Map<String,String> configuration)
configuration
- the configuration to usepublic AlluxioMasterInfo setLostWorkers(List<WorkerInfo> lostWorkers)
lostWorkers
- the list of lost workers to usepublic AlluxioMasterInfo setMetrics(Map<String,Long> metrics)
metrics
- the metrics to usepublic AlluxioMasterInfo setMountPoints(Map<String,MountPointInfo> mountPoints)
mountPoints
- the mount points to usepublic AlluxioMasterInfo setRpcAddress(String rpcAddress)
rpcAddress
- the RPC address to usepublic AlluxioMasterInfo setStartTimeMs(long startTimeMs)
startTimeMs
- the start time to use (in milliseconds)public AlluxioMasterInfo setTierCapacity(Map<String,Capacity> tierCapacity)
tierCapacity
- the capacity per tier to usepublic AlluxioMasterInfo setUfsCapacity(Capacity ufsCapacity)
ufsCapacity
- the UFS capacity to usepublic AlluxioMasterInfo setUptimeMs(long uptimeMs)
uptimeMs
- the uptime to use (in milliseconds)public AlluxioMasterInfo setVersion(String version)
version
- the version to usepublic AlluxioMasterInfo setWorkers(List<WorkerInfo> workers)
workers
- the list of workers to useCopyright © 2023. All Rights Reserved.