@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,Object> |
getConfiguration() |
Map<String,Long> |
getMetrics() |
String |
getRevision()
Gets revision.
|
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,Object> configuration) |
AlluxioWorkerInfo |
setMetrics(Map<String,Long> metrics) |
AlluxioWorkerInfo |
setRevision(String revision) |
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 String getRevision()
public AlluxioWorkerInfo setCapacity(Capacity capacity)
capacity
- the capacity to usepublic AlluxioWorkerInfo setConfiguration(Map<String,Object> 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 usepublic AlluxioWorkerInfo setRevision(String revision)
revision
- the revision to useCopyright © 2023. All Rights Reserved.