Package alluxio.wire

Class MasterWebUIMetrics

  • All Implemented Interfaces:
    java.io.Serializable

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

      • MasterWebUIMetrics

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

      • getCacheHitLocal

        public java.lang.String getCacheHitLocal()
        Gets cache hit local.
        Returns:
        the cache hit local
      • getCacheHitRemote

        public java.lang.String getCacheHitRemote()
        Gets cache hit remote.
        Returns:
        the cache hit remote
      • getCacheMiss

        public java.lang.String getCacheMiss()
        Gets cache miss.
        Returns:
        the cache miss
      • getMasterCapacityFreePercentage

        public int getMasterCapacityFreePercentage()
        Gets master capacity free percentage.
        Returns:
        the master capacity free percentage
      • getMasterCapacityUsedPercentage

        public int getMasterCapacityUsedPercentage()
        Gets master capacity used percentage.
        Returns:
        the master capacity used percentage
      • getMasterUnderfsCapacityFreePercentage

        public int getMasterUnderfsCapacityFreePercentage()
        Gets master underfs capacity free percentage.
        Returns:
        the master underfs capacity free percentage
      • getMasterUnderfsCapacityUsedPercentage

        public int getMasterUnderfsCapacityUsedPercentage()
        Gets master underfs capacity used percentage.
        Returns:
        the master underfs capacity used percentage
      • getTotalBytesReadLocal

        public java.lang.String getTotalBytesReadLocal()
        Gets total bytes read local.
        Returns:
        the total bytes read local
      • getTotalBytesReadLocalThroughput

        public java.lang.String getTotalBytesReadLocalThroughput()
        Gets total bytes read local throughput.
        Returns:
        the total bytes read local throughput
      • getTotalBytesReadDomainSocket

        public java.lang.String getTotalBytesReadDomainSocket()
        Gets total bytes read from domain socket.
        Returns:
        the total bytes from domain socket
      • getTotalBytesReadDomainSocketThroughput

        public java.lang.String getTotalBytesReadDomainSocketThroughput()
        Gets total bytes read from domain socket throughput.
        Returns:
        the total bytes read from domain socket throughput
      • getTotalBytesReadRemote

        public java.lang.String getTotalBytesReadRemote()
        Gets total bytes read remote.
        Returns:
        the total bytes read remote
      • getTotalBytesReadRemoteThroughput

        public java.lang.String getTotalBytesReadRemoteThroughput()
        Gets total bytes read remote throughput.
        Returns:
        the total bytes read remote throughput
      • getTotalBytesReadUfs

        public java.lang.String getTotalBytesReadUfs()
        Gets total bytes read ufs.
        Returns:
        the total bytes read ufs
      • getTotalBytesReadUfsThroughput

        public java.lang.String getTotalBytesReadUfsThroughput()
        Gets total bytes read ufs throughput.
        Returns:
        the total bytes read ufs throughput
      • getTotalBytesWrittenLocal

        public java.lang.String getTotalBytesWrittenLocal()
        Gets total bytes written local.
        Returns:
        the total bytes written local
      • getTotalBytesWrittenLocalThroughput

        public java.lang.String getTotalBytesWrittenLocalThroughput()
        Gets total bytes written local throughput.
        Returns:
        the total bytes written local throughput
      • getTotalBytesWrittenRemote

        public java.lang.String getTotalBytesWrittenRemote()
        Gets total bytes written remote.
        Returns:
        the total bytes written remote
      • getTotalBytesWrittenRemoteThroughput

        public java.lang.String getTotalBytesWrittenRemoteThroughput()
        Gets total bytes written remote throughput.
        Returns:
        the total bytes written remote throughput
      • getTotalBytesWrittenDomainSocket

        public java.lang.String getTotalBytesWrittenDomainSocket()
        Gets total bytes written through domain socket.
        Returns:
        the total bytes written through domain socket
      • getTotalBytesWrittenDomainSocketThroughput

        public java.lang.String getTotalBytesWrittenDomainSocketThroughput()
        Gets total bytes written through domain socket throughput.
        Returns:
        the total bytes written through domain socket throughput
      • getTotalBytesWrittenUfs

        public java.lang.String getTotalBytesWrittenUfs()
        Gets total bytes written ufs.
        Returns:
        the total bytes written ufs
      • getTotalBytesWrittenUfsThroughput

        public java.lang.String getTotalBytesWrittenUfsThroughput()
        Gets total bytes written ufs throughput.
        Returns:
        the total bytes written ufs throughput
      • getUfsOps

        public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Long>> getUfsOps()
        Gets ufs ops.
        Returns:
        the ufs ops
      • getUfsOpsSaved

        public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Long>> getUfsOpsSaved()
        Gets ufs ops saved.
        Returns:
        the ufs ops saved
      • getUfsReadSize

        public java.util.Map<java.lang.String,​java.lang.String> getUfsReadSize()
        Gets ufs read size.
        Returns:
        the ufs read size
      • getUfsWriteSize

        public java.util.Map<java.lang.String,​java.lang.String> getUfsWriteSize()
        Gets ufs write size.
        Returns:
        the ufs write size
      • getOperationMetrics

        public java.util.Map<java.lang.String,​com.codahale.metrics.Metric> getOperationMetrics()
        Gets operation metrics.
        Returns:
        the operation metrics
      • getRpcInvocationMetrics

        public java.util.Map<java.lang.String,​com.codahale.metrics.Counter> getRpcInvocationMetrics()
        Gets rpc invocation metrics.
        Returns:
        the rpc invocation metrics
      • getTimeSeriesMetrics

        public java.util.List<TimeSeries> getTimeSeriesMetrics()
        Returns:
        the time series metrics
      • getJournalDiskMetrics

        public java.util.List<JournalDiskInfo> getJournalDiskMetrics()
        Returns:
        the journal disk metrics
      • getJournalLastCheckpointTime

        public java.lang.String getJournalLastCheckpointTime()
        Returns:
        the last journal checkpoint time
      • getJournalEntriesSinceCheckpoint

        public long getJournalEntriesSinceCheckpoint()
        Returns:
        the last journal checkpoint time
      • setCacheHitLocal

        public MasterWebUIMetrics setCacheHitLocal​(java.lang.String CacheHitLocal)
        Sets cache hit local.
        Parameters:
        CacheHitLocal - the cache hit local
        Returns:
        the updated masterWebUIMetrics object
      • setCacheHitRemote

        public MasterWebUIMetrics setCacheHitRemote​(java.lang.String CacheHitRemote)
        Sets cache hit remote.
        Parameters:
        CacheHitRemote - the cache hit remote
        Returns:
        the updated masterWebUIMetrics object
      • setCacheMiss

        public MasterWebUIMetrics setCacheMiss​(java.lang.String CacheMiss)
        Sets cache miss.
        Parameters:
        CacheMiss - the cache miss
        Returns:
        the updated masterWebUIMetrics object
      • setMasterCapacityFreePercentage

        public MasterWebUIMetrics setMasterCapacityFreePercentage​(int MasterCapacityFreePercentage)
        Sets master capacity free percentage.
        Parameters:
        MasterCapacityFreePercentage - the master capacity free percentage
        Returns:
        the updated masterWebUIMetrics object
      • setMasterCapacityUsedPercentage

        public MasterWebUIMetrics setMasterCapacityUsedPercentage​(int MasterCapacityUsedPercentage)
        Sets master capacity used percentage.
        Parameters:
        MasterCapacityUsedPercentage - the master capacity used percentage
        Returns:
        the updated masterWebUIMetrics object
      • setMasterUnderfsCapacityFreePercentage

        public MasterWebUIMetrics setMasterUnderfsCapacityFreePercentage​(int MasterUnderfsCapacityFreePercentage)
        Sets master underfs capacity free percentage.
        Parameters:
        MasterUnderfsCapacityFreePercentage - the master underfs capacity free percentage
        Returns:
        the updated masterWebUIMetrics object
      • setMasterUnderfsCapacityUsedPercentage

        public MasterWebUIMetrics setMasterUnderfsCapacityUsedPercentage​(int MasterUnderfsCapacityUsedPercentage)
        Sets master underfs capacity used percentage.
        Parameters:
        MasterUnderfsCapacityUsedPercentage - the master underfs capacity used percentage
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesReadLocal

        public MasterWebUIMetrics setTotalBytesReadLocal​(java.lang.String TotalBytesReadLocal)
        Sets total bytes read local.
        Parameters:
        TotalBytesReadLocal - the total bytes read local
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesReadLocalThroughput

        public MasterWebUIMetrics setTotalBytesReadLocalThroughput​(java.lang.String TotalBytesReadLocalThroughput)
        Sets total bytes read local throughput.
        Parameters:
        TotalBytesReadLocalThroughput - the total bytes read local throughput
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesReadDomainSocket

        public MasterWebUIMetrics setTotalBytesReadDomainSocket​(java.lang.String TotalBytesReadDomainSocket)
        Sets total bytes read from domain socket.
        Parameters:
        TotalBytesReadDomainSocket - the total bytes read from domain socket
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesReadDomainSocketThroughput

        public MasterWebUIMetrics setTotalBytesReadDomainSocketThroughput​(java.lang.String TotalBytesReadDomainSocketThroughput)
        Sets total bytes read domain socket throughput.
        Parameters:
        TotalBytesReadDomainSocketThroughput - the total bytes read domain socket throughput
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesReadRemote

        public MasterWebUIMetrics setTotalBytesReadRemote​(java.lang.String TotalBytesReadRemote)
        Sets total bytes read remote.
        Parameters:
        TotalBytesReadRemote - the total bytes read remote
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesReadRemoteThroughput

        public MasterWebUIMetrics setTotalBytesReadRemoteThroughput​(java.lang.String TotalBytesReadRemoteThroughput)
        Sets total bytes read remote throughput.
        Parameters:
        TotalBytesReadRemoteThroughput - the total bytes read remote throughput
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesReadUfs

        public MasterWebUIMetrics setTotalBytesReadUfs​(java.lang.String TotalBytesReadUfs)
        Sets total bytes read ufs.
        Parameters:
        TotalBytesReadUfs - the total bytes read ufs
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesReadUfsThroughput

        public MasterWebUIMetrics setTotalBytesReadUfsThroughput​(java.lang.String TotalBytesReadUfsThroughput)
        Sets total bytes read ufs throughput.
        Parameters:
        TotalBytesReadUfsThroughput - the total bytes read ufs throughput
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesWrittenLocal

        public MasterWebUIMetrics setTotalBytesWrittenLocal​(java.lang.String TotalBytesWrittenLocal)
        Sets total bytes written local.
        Parameters:
        TotalBytesWrittenLocal - the total bytes written local
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesWrittenLocalThroughput

        public MasterWebUIMetrics setTotalBytesWrittenLocalThroughput​(java.lang.String TotalBytesWrittenLocalThroughput)
        Sets total bytes written local throughput.
        Parameters:
        TotalBytesWrittenLocalThroughput - the total bytes written local throughput
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesWrittenRemote

        public MasterWebUIMetrics setTotalBytesWrittenRemote​(java.lang.String TotalBytesWrittenRemote)
        Sets total bytes written remote.
        Parameters:
        TotalBytesWrittenRemote - the total bytes written remote
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesWrittenRemoteThroughput

        public MasterWebUIMetrics setTotalBytesWrittenRemoteThroughput​(java.lang.String TotalBytesWrittenRemoteThroughput)
        Sets total bytes written remote throughput.
        Parameters:
        TotalBytesWrittenRemoteThroughput - the total bytes written remote throughput
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesWrittenDomainSocket

        public MasterWebUIMetrics setTotalBytesWrittenDomainSocket​(java.lang.String TotalBytesWrittenDoaminSocket)
        Sets total bytes written through domain socket.
        Parameters:
        TotalBytesWrittenDoaminSocket - the total bytes written through domain socket
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesWrittenDomainSocketThroughput

        public MasterWebUIMetrics setTotalBytesWrittenDomainSocketThroughput​(java.lang.String TotalBytesWrittenDoaminSocketThroughput)
        Sets total bytes written domain socket throughput.
        Parameters:
        TotalBytesWrittenDoaminSocketThroughput - the total bytes written domain socket throughput
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesWrittenUfs

        public MasterWebUIMetrics setTotalBytesWrittenUfs​(java.lang.String TotalBytesWrittenUfs)
        Sets total bytes written ufs.
        Parameters:
        TotalBytesWrittenUfs - the total bytes written ufs
        Returns:
        the updated masterWebUIMetrics object
      • setTotalBytesWrittenUfsThroughput

        public MasterWebUIMetrics setTotalBytesWrittenUfsThroughput​(java.lang.String TotalBytesWrittenUfsThroughput)
        Sets total bytes written ufs throughput.
        Parameters:
        TotalBytesWrittenUfsThroughput - the total bytes written ufs throughput
        Returns:
        the updated masterWebUIMetrics object
      • setUfsOps

        public MasterWebUIMetrics setUfsOps​(java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Long>> UfsOps)
        Sets ufs ops.
        Parameters:
        UfsOps - the ufs ops
        Returns:
        the updated masterWebUIMetrics object
      • setUfsOpsSaved

        public MasterWebUIMetrics setUfsOpsSaved​(java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.Long>> ufsOpsSavedMap)
        Sets ufs saved ops.
        Parameters:
        ufsOpsSavedMap - the ufs ops
        Returns:
        the updated masterWebUIMetrics object
      • setUfsReadSize

        public MasterWebUIMetrics setUfsReadSize​(java.util.Map<java.lang.String,​java.lang.String> UfsReadSize)
        Sets ufs read size.
        Parameters:
        UfsReadSize - the ufs read size
        Returns:
        the updated masterWebUIMetrics object
      • setUfsWriteSize

        public MasterWebUIMetrics setUfsWriteSize​(java.util.Map<java.lang.String,​java.lang.String> UfsWriteSize)
        Sets ufs write size.
        Parameters:
        UfsWriteSize - the ufs write size
        Returns:
        the updated masterWebUIMetrics object
      • setOperationMetrics

        public MasterWebUIMetrics setOperationMetrics​(java.util.Map<java.lang.String,​com.codahale.metrics.Metric> operationMetrics)
        Sets operation metrics.
        Parameters:
        operationMetrics - the operation metrics
        Returns:
        the updated masterWebUIMetrics object
      • setTimeSeriesMetrics

        public MasterWebUIMetrics setTimeSeriesMetrics​(java.util.List<TimeSeries> timeSeries)
        Parameters:
        timeSeries - the time series metrics to set. The latest 20 data points will be set
        Returns:
        the updated masterWebUIMetrics object
      • setJournalLastCheckpointTime

        public MasterWebUIMetrics setJournalLastCheckpointTime​(java.lang.String lastCheckpointTime)
        Parameters:
        lastCheckpointTime - the last journal checkpoint time
        Returns:
        the updated metrics object
      • setJournalEntriesSinceCheckpoint

        public MasterWebUIMetrics setJournalEntriesSinceCheckpoint​(long entriesSinceCheckpoint)
        Parameters:
        entriesSinceCheckpoint - the last journal checkpoint time
        Returns:
        the updated metrics object
      • setRpcInvocationMetrics

        public MasterWebUIMetrics setRpcInvocationMetrics​(java.util.Map<java.lang.String,​com.codahale.metrics.Counter> rpcInvocationMetrics)
        Sets rpc invocation metrics.
        Parameters:
        rpcInvocationMetrics - the rpc invocation metrics
        Returns:
        the rpc invocation metrics
      • toString

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