@NotThreadSafe public class AlluxioWorkerInfo extends Object
Constructor and Description |
---|
AlluxioWorkerInfo()
Creates a new instance of
AlluxioWorkerInfo . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Capacity |
getCapacity() |
Map<String,String> |
getConfiguration() |
Map<String,Long> |
getMetrics() |
String |
getRpcAddress() |
long |
getStartTimeMs() |
Map<String,Capacity> |
getTierCapacity() |
Map<String,List<String>> |
getTierPaths() |
long |
getUptimeMs() |
String |
getVersion() |
int |
hashCode() |
AlluxioWorkerInfo |
setCapacity(Capacity capacity) |
AlluxioWorkerInfo |
setConfiguration(Map<String,String> configuration) |
AlluxioWorkerInfo |
setMetrics(Map<String,Long> metrics) |
AlluxioWorkerInfo |
setRpcAddress(String rpcAddress) |
AlluxioWorkerInfo |
setStartTimeMs(long startTimeMs) |
AlluxioWorkerInfo |
setTierCapacity(Map<String,Capacity> tierCapacity) |
AlluxioWorkerInfo |
setTierPaths(Map<String,List<String>> tierPaths) |
AlluxioWorkerInfo |
setUptimeMs(long uptimeMs) |
AlluxioWorkerInfo |
setVersion(String version) |
String |
toString() |
public AlluxioWorkerInfo()
AlluxioWorkerInfo
.public Capacity getCapacity()
public String getRpcAddress()
public long getStartTimeMs()
public long getUptimeMs()
public String getVersion()
public AlluxioWorkerInfo setCapacity(Capacity capacity)
capacity
- the capacity to usepublic AlluxioWorkerInfo setConfiguration(Map<String,String> configuration)
configuration
- the configuration to usepublic AlluxioWorkerInfo setMetrics(Map<String,Long> metrics)
metrics
- the metrics to usepublic AlluxioWorkerInfo setRpcAddress(String rpcAddress)
rpcAddress
- the RPC address to usepublic AlluxioWorkerInfo setStartTimeMs(long startTimeMs)
startTimeMs
- the start time to use (in milliseconds)public AlluxioWorkerInfo setTierCapacity(Map<String,Capacity> tierCapacity)
tierCapacity
- the capacity per tier to usepublic AlluxioWorkerInfo setTierPaths(Map<String,List<String>> tierPaths)
tierPaths
- the tier paths to usepublic AlluxioWorkerInfo setUptimeMs(long uptimeMs)
uptimeMs
- the uptime to use (in milliseconds)public AlluxioWorkerInfo setVersion(String version)
version
- the version to useCopyright © 2023. All Rights Reserved.