Package alluxio.wire
Class AlluxioProxyInfo
- java.lang.Object
-
- alluxio.wire.AlluxioProxyInfo
-
@NotThreadSafe public class AlluxioProxyInfo extends java.lang.Object
Alluxio proxy information.
-
-
Constructor Summary
Constructors Constructor Description AlluxioProxyInfo()
Creates a new instance ofAlluxioProxyInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Map<java.lang.String,java.lang.Object>
getConfiguration()
long
getStartTimeMs()
long
getUptimeMs()
java.lang.String
getVersion()
int
hashCode()
AlluxioProxyInfo
setConfiguration(java.util.Map<java.lang.String,java.lang.Object> configuration)
AlluxioProxyInfo
setStartTimeMs(long startTimeMs)
AlluxioProxyInfo
setUptimeMs(long uptimeMs)
AlluxioProxyInfo
setVersion(java.lang.String version)
java.lang.String
toString()
-
-
-
Constructor Detail
-
AlluxioProxyInfo
public AlluxioProxyInfo()
Creates a new instance ofAlluxioProxyInfo
.
-
-
Method Detail
-
getConfiguration
public java.util.Map<java.lang.String,java.lang.Object> getConfiguration()
- Returns:
- the configuration
-
getStartTimeMs
public long getStartTimeMs()
- Returns:
- the start time (in milliseconds)
-
getUptimeMs
public long getUptimeMs()
- Returns:
- the uptime (in milliseconds)
-
getVersion
public java.lang.String getVersion()
- Returns:
- the version
-
setConfiguration
public AlluxioProxyInfo setConfiguration(java.util.Map<java.lang.String,java.lang.Object> configuration)
- Parameters:
configuration
- the configuration to use- Returns:
- the Alluxio proxy information
-
setStartTimeMs
public AlluxioProxyInfo setStartTimeMs(long startTimeMs)
- Parameters:
startTimeMs
- the start time to use (in milliseconds)- Returns:
- the Alluxio proxy information
-
setUptimeMs
public AlluxioProxyInfo setUptimeMs(long uptimeMs)
- Parameters:
uptimeMs
- the uptime to use (in milliseconds)- Returns:
- the Alluxio proxy information
-
setVersion
public AlluxioProxyInfo setVersion(java.lang.String version)
- Parameters:
version
- the version to use- Returns:
- the Alluxio proxy information
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-