Package org.apache.accumulo.monitor
Class Monitor
- java.lang.Object
-
- org.apache.accumulo.server.AbstractServer
-
- org.apache.accumulo.monitor.Monitor
-
- All Implemented Interfaces:
AutoCloseable,Runnable,HighlyAvailableService
public class Monitor extends AbstractServer implements HighlyAvailableService
Serve master statistics with an embedded web server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMonitor.MonitorFactorystatic classMonitor.ScanStats
-
Method Summary
-
Methods inherited from class org.apache.accumulo.server.AbstractServer
close, getConfiguration, getContext, getHostname, getMetricsSystem, runServer
-
-
-
-
Method Detail
-
fetchData
public void fetchData()
-
getScans
public Map<HostAndPort,Monitor.ScanStats> getScans()
-
getMmi
public MasterMonitorInfo getMmi()
-
getTotalTables
public int getTotalTables()
-
getTotalTabletCount
public int getTotalTabletCount()
-
getTotalEntries
public long getTotalEntries()
-
getTotalIngestRate
public double getTotalIngestRate()
-
getTotalQueryRate
public double getTotalQueryRate()
-
getTotalScanRate
public double getTotalScanRate()
-
getTotalHoldTime
public long getTotalHoldTime()
-
getProblemException
public Exception getProblemException()
-
getProblemSummary
public Map<TableId,Map<ProblemType,Integer>> getProblemSummary()
-
getGcStatus
public GCStatus getGcStatus()
-
getTotalLookups
public long getTotalLookups()
-
getStartTime
public long getStartTime()
-
getLookupRate
public double getLookupRate()
-
isActiveService
public boolean isActiveService()
- Specified by:
isActiveServicein interfaceHighlyAvailableService
-
-