Package alluxio.wire

Class MasterWebUIOverview

  • All Implemented Interfaces:
    java.io.Serializable

    @NotThreadSafe
    public final class MasterWebUIOverview
    extends java.lang.Object
    implements java.io.Serializable
    Alluxio WebUI overview information.
    See Also:
    Serialized Form
    • Constructor Detail

      • MasterWebUIOverview

        public MasterWebUIOverview()
        Creates a new instance of MasterWebUIOverview.
    • Method Detail

      • getCapacity

        public java.lang.String getCapacity()
        Gets capacity.
        Returns:
        the capacity
      • getClusterId

        public java.lang.String getClusterId()
        Gets cluster id.
        Returns:
        the cluster id
      • getConfigCheckErrorNum

        public int getConfigCheckErrorNum()
        Gets config check error num.
        Returns:
        the number of config check errors
      • getConfigCheckErrors

        public java.util.Map<alluxio.grpc.Scope,​java.util.List<InconsistentProperty>> getConfigCheckErrors()
        Gets config check errors.
        Returns:
        the config check errors
      • getConfigCheckStatus

        public alluxio.grpc.ConfigStatus getConfigCheckStatus()
        Gets config check status.
        Returns:
        the config check status
      • getConfigCheckWarns

        public java.util.Map<alluxio.grpc.Scope,​java.util.List<InconsistentProperty>> getConfigCheckWarns()
        Gets config check warns.
        Returns:
        the config check warnings
      • getDebug

        public boolean getDebug()
        Gets debug.
        Returns:
        the debug value
      • getDiskCapacity

        public java.lang.String getDiskCapacity()
        Gets disk capacity.
        Returns:
        the disk capacity
      • getDiskFreeCapacity

        public java.lang.String getDiskFreeCapacity()
        Gets disk free capacity.
        Returns:
        the free disk capacity
      • getDiskUsedCapacity

        public java.lang.String getDiskUsedCapacity()
        Gets disk used capacity.
        Returns:
        the used disk capacity
      • getFreeCapacity

        public java.lang.String getFreeCapacity()
        Gets free capacity.
        Returns:
        the free capacity
      • getJournalCheckpointTimeWarning

        public java.lang.String getJournalCheckpointTimeWarning()
        Returns:
        the journal checkpoint time warning
      • getJournalDiskWarnings

        public java.util.List<java.lang.String> getJournalDiskWarnings()
        Returns:
        the journal disk warnings
      • getLiveWorkerNodes

        public java.lang.String getLiveWorkerNodes()
        Gets live worker nodes.
        Returns:
        live worker nodes
      • getMasterNodeAddress

        public java.lang.String getMasterNodeAddress()
        Gets master node address.
        Returns:
        the master node address
      • getStartTime

        public java.lang.String getStartTime()
        Gets start time.
        Returns:
        the start time
      • getStorageTierInfos

        public java.util.List<StorageTierInfo> getStorageTierInfos()
        Gets storage tier infos.
        Returns:
        the storage tier infos
      • getUptime

        public java.lang.String getUptime()
        Gets uptime.
        Returns:
        the uptime
      • getUsedCapacity

        public java.lang.String getUsedCapacity()
        Gets used capacity.
        Returns:
        used capacity
      • getVersion

        public java.lang.String getVersion()
        Gets version.
        Returns:
        the version
      • getRevision

        public java.lang.String getRevision()
        Gets revision.
        Returns:
        the revision
      • getConfigCheckWarnNum

        public int getConfigCheckWarnNum()
        Gets config check warn num.
        Returns:
        the config check warn num
      • getUniqueBlockCount

        public java.lang.String getUniqueBlockCount()
        Gets unique block count.
        Returns:
        unique block count
      • getTotalPath

        public java.lang.String getTotalPath()
        Gets total path.
        Returns:
        total path
      • getReplicaBlockCount

        public java.lang.String getReplicaBlockCount()
        Gets replica block count.
        Returns:
        replica block count
      • getMasterRole

        public java.lang.String getMasterRole()
        Gets master role name.
        Returns:
        the master role name
      • getLeaderId

        public java.lang.String getLeaderId()
        Gets leader id.
        Returns:
        the leader id
      • getSystemStatus

        public java.lang.String getSystemStatus()
        Gets system status.
        Returns:
        the system status
      • setClusterId

        public MasterWebUIOverview setClusterId​(java.lang.String clusterId)
        Sets cluster id.
        Parameters:
        clusterId - the cluster id
        Returns:
        the updated MasterWebUIOverview instance
      • setConfigCheckErrorNum

        public MasterWebUIOverview setConfigCheckErrorNum​(int configCheckErrorNum)
        Sets config check error num.
        Parameters:
        configCheckErrorNum - the config check error num
        Returns:
        the updated MasterWebUIOverview object
      • setConfigCheckErrors

        public MasterWebUIOverview setConfigCheckErrors​(java.util.Map<alluxio.grpc.Scope,​java.util.List<InconsistentProperty>> configCheckErrors)
        Sets config check errors.
        Parameters:
        configCheckErrors - the config check errors
        Returns:
        the updated MasterWebUIOverview object
      • setConfigCheckStatus

        public MasterWebUIOverview setConfigCheckStatus​(alluxio.grpc.ConfigStatus configCheckStatus)
        Sets config check status.
        Parameters:
        configCheckStatus - the config check status
        Returns:
        the updated MasterWebUIOverview object
      • setConfigCheckWarns

        public MasterWebUIOverview setConfigCheckWarns​(java.util.Map<alluxio.grpc.Scope,​java.util.List<InconsistentProperty>> configCheckWarns)
        Sets config check warns.
        Parameters:
        configCheckWarns - the config check warns
        Returns:
        the updated MasterWebUIOverview object
      • setDiskCapacity

        public MasterWebUIOverview setDiskCapacity​(java.lang.String diskCapacity)
        Sets disk capacity.
        Parameters:
        diskCapacity - the disk capacity
        Returns:
        the updated MasterWebUIOverview object
      • setDiskFreeCapacity

        public MasterWebUIOverview setDiskFreeCapacity​(java.lang.String diskFreeCapacity)
        Sets disk free capacity.
        Parameters:
        diskFreeCapacity - the disk free capacity
        Returns:
        the updated MasterWebUIOverview object
      • setDiskUsedCapacity

        public MasterWebUIOverview setDiskUsedCapacity​(java.lang.String diskUsedCapacity)
        Sets disk used capacity.
        Parameters:
        diskUsedCapacity - the disk used capacity
        Returns:
        the updated MasterWebUIOverview object
      • setFreeCapacity

        public MasterWebUIOverview setFreeCapacity​(java.lang.String freeCapacity)
        Sets free capacity.
        Parameters:
        freeCapacity - the free capacity
        Returns:
        the updated MasterWebUIOverview object
      • setJournalCheckpointTimeWarning

        public MasterWebUIOverview setJournalCheckpointTimeWarning​(java.lang.String journalCheckpointTimeWarning)
        Parameters:
        journalCheckpointTimeWarning - the journal checkpoint time warning
        Returns:
        the updated MasterWebUIOverview object
      • setJournalDiskWarnings

        public MasterWebUIOverview setJournalDiskWarnings​(java.util.List<java.lang.String> journalDiskWarnings)
        Parameters:
        journalDiskWarnings - the list of journal disk warnings
        Returns:
        the updated MasterWebUIOverview object
      • setLiveWorkerNodes

        public MasterWebUIOverview setLiveWorkerNodes​(java.lang.String liveWorkerNodes)
        Sets live worker nodes.
        Parameters:
        liveWorkerNodes - the live worker nodes
        Returns:
        the updated MasterWebUIOverview object
      • setMasterNodeAddress

        public MasterWebUIOverview setMasterNodeAddress​(java.lang.String masterNodeAddress)
        Sets master node address.
        Parameters:
        masterNodeAddress - the master node address
        Returns:
        the master webui overview
      • setStartTime

        public MasterWebUIOverview setStartTime​(java.lang.String startTime)
        Sets start time.
        Parameters:
        startTime - the start time
        Returns:
        the master webui overview
      • setStorageTierInfos

        public MasterWebUIOverview setStorageTierInfos​(java.util.List<StorageTierInfo> storageTierInfos)
        Sets storage tier infos.
        Parameters:
        storageTierInfos - the storage tier infos
        Returns:
        the master webui overview
      • setUptime

        public MasterWebUIOverview setUptime​(java.lang.String uptime)
        Sets uptime.
        Parameters:
        uptime - the uptime
        Returns:
        the master webui overview
      • setUsedCapacity

        public MasterWebUIOverview setUsedCapacity​(java.lang.String usedCapacity)
        Sets used capacity.
        Parameters:
        usedCapacity - the used capacity
        Returns:
        the master webui overview
      • setVersion

        public MasterWebUIOverview setVersion​(java.lang.String version)
        Sets version.
        Parameters:
        version - the version
        Returns:
        the master webui overview
      • setRevision

        public MasterWebUIOverview setRevision​(java.lang.String revision)
        Sets revision.
        Parameters:
        revision - the revision
        Returns:
        the master webui overview
      • setConfigCheckWarnNum

        public MasterWebUIOverview setConfigCheckWarnNum​(int configCheckWarnNum)
        Sets config check warn num.
        Parameters:
        configCheckWarnNum - the config check warn num
        Returns:
        the master webui overview
      • setUniqueBlockCount

        public MasterWebUIOverview setUniqueBlockCount​(java.lang.String uniqueBlockCount)
        Sets unique block count.
        Parameters:
        uniqueBlockCount - the unique block count
        Returns:
        the master webui overview
      • setTotalPath

        public MasterWebUIOverview setTotalPath​(java.lang.String totalPath)
        Sets total path.
        Parameters:
        totalPath - the total path
        Returns:
        the master webui overview
      • setReplicaBlockCount

        public MasterWebUIOverview setReplicaBlockCount​(java.lang.String replicaBlockCount)
        Sets replica block count.
        Parameters:
        replicaBlockCount - the replica block count
        Returns:
        the master webui overview
      • setMasterRole

        public MasterWebUIOverview setMasterRole​(java.lang.String roleName)
        Sets the master role name.
        Parameters:
        roleName - the master role name
        Returns:
        the master webui overview
      • setLeaderId

        public MasterWebUIOverview setLeaderId​(java.lang.String leaderId)
        Sets the leader id.
        Parameters:
        leaderId - the leader id
        Returns:
        the master webui overview
      • setSystemStatus

        public MasterWebUIOverview setSystemStatus​(java.lang.String systemStatus)
        Sets the system status.
        Parameters:
        systemStatus - the system status
        Returns:
        the master status system
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object