@NotThreadSafe public final class MasterWebUIMetrics extends Object implements Serializable
Constructor and Description |
---|
MasterWebUIMetrics()
Creates a new instance of
MasterWebUIMetrics . |
Modifier and Type | Method and Description |
---|---|
String |
getCacheHit()
Gets cache hit.
|
String |
getCacheMiss()
Gets cache miss.
|
List<JournalDiskInfo> |
getJournalDiskMetrics() |
long |
getJournalEntriesSinceCheckpoint() |
String |
getJournalLastCheckpointTime() |
int |
getMasterCapacityFreePercentage()
Gets master capacity free percentage.
|
int |
getMasterCapacityUsedPercentage()
Gets master capacity used percentage.
|
int |
getMasterUnderfsCapacityFreePercentage()
Gets master underfs capacity free percentage.
|
int |
getMasterUnderfsCapacityUsedPercentage()
Gets master underfs capacity used percentage.
|
Map<String,com.codahale.metrics.Metric> |
getOperationMetrics()
Gets operation metrics.
|
Map<String,com.codahale.metrics.Counter> |
getRpcInvocationMetrics()
Gets rpc invocation metrics.
|
List<TimeSeries> |
getTimeSeriesMetrics() |
String |
getTotalBytesReadDomainSocket()
Gets total bytes read from domain socket.
|
String |
getTotalBytesReadDomainSocketThroughput()
Gets total bytes read from domain socket throughput.
|
String |
getTotalBytesReadRemote()
Gets total bytes read remote.
|
String |
getTotalBytesReadRemoteThroughput()
Gets total bytes read remote throughput.
|
String |
getTotalBytesReadUfs()
Gets total bytes read ufs.
|
String |
getTotalBytesReadUfsThroughput()
Gets total bytes read ufs throughput.
|
String |
getTotalBytesWrittenDomainSocket()
Gets total bytes written through domain socket.
|
String |
getTotalBytesWrittenDomainSocketThroughput()
Gets total bytes written through domain socket throughput.
|
String |
getTotalBytesWrittenRemote()
Gets total bytes written remote.
|
String |
getTotalBytesWrittenRemoteThroughput()
Gets total bytes written remote throughput.
|
String |
getTotalBytesWrittenUfs()
Gets total bytes written ufs.
|
String |
getTotalBytesWrittenUfsThroughput()
Gets total bytes written ufs throughput.
|
Map<String,Map<String,Long>> |
getUfsOps()
Gets ufs ops.
|
Map<String,Map<String,Long>> |
getUfsOpsSaved()
Gets ufs ops saved.
|
Map<String,String> |
getUfsReadSize()
Gets ufs read size.
|
Map<String,String> |
getUfsWriteSize()
Gets ufs write size.
|
MasterWebUIMetrics |
setCacheHit(String CacheHitRemote)
Sets cache hit.
|
MasterWebUIMetrics |
setCacheMiss(String CacheMiss)
Sets cache miss.
|
MasterWebUIMetrics |
setJournalDiskMetrics(List<JournalDiskInfo> journalDiskMetrics) |
MasterWebUIMetrics |
setJournalEntriesSinceCheckpoint(long entriesSinceCheckpoint) |
MasterWebUIMetrics |
setJournalLastCheckpointTime(String lastCheckpointTime) |
MasterWebUIMetrics |
setMasterCapacityFreePercentage(int MasterCapacityFreePercentage)
Sets master capacity free percentage.
|
MasterWebUIMetrics |
setMasterCapacityUsedPercentage(int MasterCapacityUsedPercentage)
Sets master capacity used percentage.
|
MasterWebUIMetrics |
setMasterUnderfsCapacityFreePercentage(int MasterUnderfsCapacityFreePercentage)
Sets master underfs capacity free percentage.
|
MasterWebUIMetrics |
setMasterUnderfsCapacityUsedPercentage(int MasterUnderfsCapacityUsedPercentage)
Sets master underfs capacity used percentage.
|
MasterWebUIMetrics |
setOperationMetrics(Map<String,com.codahale.metrics.Metric> operationMetrics)
Sets operation metrics.
|
MasterWebUIMetrics |
setRpcInvocationMetrics(Map<String,com.codahale.metrics.Counter> rpcInvocationMetrics)
Sets rpc invocation metrics.
|
MasterWebUIMetrics |
setTimeSeriesMetrics(List<TimeSeries> timeSeries) |
MasterWebUIMetrics |
setTotalBytesReadDomainSocket(String TotalBytesReadDomainSocket)
Sets total bytes read from domain socket.
|
MasterWebUIMetrics |
setTotalBytesReadDomainSocketThroughput(String TotalBytesReadDomainSocketThroughput)
Sets total bytes read domain socket throughput.
|
MasterWebUIMetrics |
setTotalBytesReadRemote(String TotalBytesReadRemote)
Sets total bytes read remote.
|
MasterWebUIMetrics |
setTotalBytesReadRemoteThroughput(String TotalBytesReadRemoteThroughput)
Sets total bytes read remote throughput.
|
MasterWebUIMetrics |
setTotalBytesReadUfs(String TotalBytesReadUfs)
Sets total bytes read ufs.
|
MasterWebUIMetrics |
setTotalBytesReadUfsThroughput(String TotalBytesReadUfsThroughput)
Sets total bytes read ufs throughput.
|
MasterWebUIMetrics |
setTotalBytesWrittenDomainSocket(String TotalBytesWrittenDoaminSocket)
Sets total bytes written through domain socket.
|
MasterWebUIMetrics |
setTotalBytesWrittenDomainSocketThroughput(String TotalBytesWrittenDoaminSocketThroughput)
Sets total bytes written domain socket throughput.
|
MasterWebUIMetrics |
setTotalBytesWrittenRemote(String TotalBytesWrittenRemote)
Sets total bytes written remote.
|
MasterWebUIMetrics |
setTotalBytesWrittenRemoteThroughput(String TotalBytesWrittenRemoteThroughput)
Sets total bytes written remote throughput.
|
MasterWebUIMetrics |
setTotalBytesWrittenUfs(String TotalBytesWrittenUfs)
Sets total bytes written ufs.
|
MasterWebUIMetrics |
setTotalBytesWrittenUfsThroughput(String TotalBytesWrittenUfsThroughput)
Sets total bytes written ufs throughput.
|
MasterWebUIMetrics |
setUfsOps(Map<String,Map<String,Long>> UfsOps)
Sets ufs ops.
|
MasterWebUIMetrics |
setUfsOpsSaved(Map<String,Map<String,Long>> ufsOpsSavedMap)
Sets ufs saved ops.
|
MasterWebUIMetrics |
setUfsReadSize(Map<String,String> UfsReadSize)
Sets ufs read size.
|
MasterWebUIMetrics |
setUfsWriteSize(Map<String,String> UfsWriteSize)
Sets ufs write size.
|
String |
toString() |
public MasterWebUIMetrics()
MasterWebUIMetrics
.public String getCacheHit()
public String getCacheMiss()
public int getMasterCapacityFreePercentage()
public int getMasterCapacityUsedPercentage()
public int getMasterUnderfsCapacityFreePercentage()
public int getMasterUnderfsCapacityUsedPercentage()
public String getTotalBytesReadDomainSocket()
public String getTotalBytesReadDomainSocketThroughput()
public String getTotalBytesReadRemote()
public String getTotalBytesReadRemoteThroughput()
public String getTotalBytesReadUfs()
public String getTotalBytesReadUfsThroughput()
public String getTotalBytesWrittenRemote()
public String getTotalBytesWrittenRemoteThroughput()
public String getTotalBytesWrittenDomainSocket()
public String getTotalBytesWrittenDomainSocketThroughput()
public String getTotalBytesWrittenUfs()
public String getTotalBytesWrittenUfsThroughput()
public Map<String,Map<String,Long>> getUfsOpsSaved()
public Map<String,String> getUfsReadSize()
public Map<String,String> getUfsWriteSize()
public Map<String,com.codahale.metrics.Metric> getOperationMetrics()
public Map<String,com.codahale.metrics.Counter> getRpcInvocationMetrics()
public List<TimeSeries> getTimeSeriesMetrics()
public List<JournalDiskInfo> getJournalDiskMetrics()
public String getJournalLastCheckpointTime()
public long getJournalEntriesSinceCheckpoint()
public MasterWebUIMetrics setCacheHit(String CacheHitRemote)
CacheHitRemote
- the cache hit remotepublic MasterWebUIMetrics setCacheMiss(String CacheMiss)
CacheMiss
- the cache misspublic MasterWebUIMetrics setMasterCapacityFreePercentage(int MasterCapacityFreePercentage)
MasterCapacityFreePercentage
- the master capacity free percentagepublic MasterWebUIMetrics setMasterCapacityUsedPercentage(int MasterCapacityUsedPercentage)
MasterCapacityUsedPercentage
- the master capacity used percentagepublic MasterWebUIMetrics setMasterUnderfsCapacityFreePercentage(int MasterUnderfsCapacityFreePercentage)
MasterUnderfsCapacityFreePercentage
- the master underfs capacity free percentagepublic MasterWebUIMetrics setMasterUnderfsCapacityUsedPercentage(int MasterUnderfsCapacityUsedPercentage)
MasterUnderfsCapacityUsedPercentage
- the master underfs capacity used percentagepublic MasterWebUIMetrics setTotalBytesReadDomainSocket(String TotalBytesReadDomainSocket)
TotalBytesReadDomainSocket
- the total bytes read from domain socketpublic MasterWebUIMetrics setTotalBytesReadDomainSocketThroughput(String TotalBytesReadDomainSocketThroughput)
TotalBytesReadDomainSocketThroughput
- the total bytes read domain socket throughputpublic MasterWebUIMetrics setTotalBytesReadRemote(String TotalBytesReadRemote)
TotalBytesReadRemote
- the total bytes read remotepublic MasterWebUIMetrics setTotalBytesReadRemoteThroughput(String TotalBytesReadRemoteThroughput)
TotalBytesReadRemoteThroughput
- the total bytes read remote throughputpublic MasterWebUIMetrics setTotalBytesReadUfs(String TotalBytesReadUfs)
TotalBytesReadUfs
- the total bytes read ufspublic MasterWebUIMetrics setTotalBytesReadUfsThroughput(String TotalBytesReadUfsThroughput)
TotalBytesReadUfsThroughput
- the total bytes read ufs throughputpublic MasterWebUIMetrics setTotalBytesWrittenRemote(String TotalBytesWrittenRemote)
TotalBytesWrittenRemote
- the total bytes written remotepublic MasterWebUIMetrics setTotalBytesWrittenRemoteThroughput(String TotalBytesWrittenRemoteThroughput)
TotalBytesWrittenRemoteThroughput
- the total bytes written remote throughputpublic MasterWebUIMetrics setTotalBytesWrittenDomainSocket(String TotalBytesWrittenDoaminSocket)
TotalBytesWrittenDoaminSocket
- the total bytes written through domain socketpublic MasterWebUIMetrics setTotalBytesWrittenDomainSocketThroughput(String TotalBytesWrittenDoaminSocketThroughput)
TotalBytesWrittenDoaminSocketThroughput
- the total bytes written domain socket throughputpublic MasterWebUIMetrics setTotalBytesWrittenUfs(String TotalBytesWrittenUfs)
TotalBytesWrittenUfs
- the total bytes written ufspublic MasterWebUIMetrics setTotalBytesWrittenUfsThroughput(String TotalBytesWrittenUfsThroughput)
TotalBytesWrittenUfsThroughput
- the total bytes written ufs throughputpublic MasterWebUIMetrics setUfsOps(Map<String,Map<String,Long>> UfsOps)
UfsOps
- the ufs opspublic MasterWebUIMetrics setUfsOpsSaved(Map<String,Map<String,Long>> ufsOpsSavedMap)
ufsOpsSavedMap
- the ufs opspublic MasterWebUIMetrics setUfsReadSize(Map<String,String> UfsReadSize)
UfsReadSize
- the ufs read sizepublic MasterWebUIMetrics setUfsWriteSize(Map<String,String> UfsWriteSize)
UfsWriteSize
- the ufs write sizepublic MasterWebUIMetrics setOperationMetrics(Map<String,com.codahale.metrics.Metric> operationMetrics)
operationMetrics
- the operation metricspublic MasterWebUIMetrics setTimeSeriesMetrics(List<TimeSeries> timeSeries)
timeSeries
- the time series metrics to set. The latest 20 data points will be setpublic MasterWebUIMetrics setJournalDiskMetrics(List<JournalDiskInfo> journalDiskMetrics)
journalDiskMetrics
- the disk metrics to setMasterWebUIMetrics
objectpublic MasterWebUIMetrics setJournalLastCheckpointTime(String lastCheckpointTime)
lastCheckpointTime
- the last journal checkpoint timepublic MasterWebUIMetrics setJournalEntriesSinceCheckpoint(long entriesSinceCheckpoint)
entriesSinceCheckpoint
- the last journal checkpoint timepublic MasterWebUIMetrics setRpcInvocationMetrics(Map<String,com.codahale.metrics.Counter> rpcInvocationMetrics)
rpcInvocationMetrics
- the rpc invocation metricsCopyright © 2023. All Rights Reserved.