org.apache.accumulo.server.monitor
Class Monitor
java.lang.Object
org.apache.accumulo.server.monitor.Monitor
public class Monitor
- extends Object
Serve master statistics with an embedded web server.
Method Summary |
static void |
add(TableInfo total,
TableInfo more)
|
static void |
fetchData()
|
static List<Pair<Long,Double>> |
getDataCacheHitRateOverTime()
|
static GCStatus |
getGcStatus()
|
static List<Pair<Long,Double>> |
getIndexCacheHitRateOverTime()
|
static List<Pair<Long,Double>> |
getIngestByteRateOverTime()
|
static List<Pair<Long,Double>> |
getIngestRateOverTime()
|
static List<Pair<Long,Double>> |
getLoadOverTime()
|
static double |
getLookupRate()
|
static List<Pair<Long,Double>> |
getLookupsOverTime()
|
static List<Pair<Long,Integer>> |
getMajorCompactionsOverTime()
|
static List<Pair<Long,Integer>> |
getMinorCompactionsOverTime()
|
static MasterMonitorInfo |
getMmi()
|
static int |
getOnlineTabletCount()
|
static Exception |
getProblemException()
|
static Map<String,Map<ProblemType,Integer>> |
getProblemSummary()
|
static List<Pair<Long,Double>> |
getQueryByteRateOverTime()
|
static List<Pair<Long,Integer>> |
getQueryRateOverTime()
|
static List<Pair<Long,Integer>> |
getRecoveriesOverTime()
|
static long |
getStartTime()
|
static long |
getTotalEntries()
|
static long |
getTotalHoldTime()
|
static double |
getTotalIngestByteRate()
|
static double |
getTotalIngestRate()
|
static long |
getTotalLookups()
|
static double |
getTotalQueryByteRate()
|
static double |
getTotalQueryRate()
|
static int |
getTotalTables()
|
static int |
getTotalTabletCount()
|
static void |
main(String[] args)
|
void |
run(String[] args)
|
static Map<String,Double> |
summarizeTableStats(MasterMonitorInfo mmi)
|
static TableInfo |
summarizeTableStats(TabletServerStatus status)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REFRESH_TIME
public static final int REFRESH_TIME
- See Also:
- Constant Field Values
Monitor
public Monitor()
summarizeTableStats
public static Map<String,Double> summarizeTableStats(MasterMonitorInfo mmi)
add
public static void add(TableInfo total,
TableInfo more)
summarizeTableStats
public static TableInfo summarizeTableStats(TabletServerStatus status)
fetchData
public static void fetchData()
main
public static void main(String[] args)
run
public void run(String[] args)
getMmi
public static MasterMonitorInfo getMmi()
getTotalTables
public static int getTotalTables()
getTotalTabletCount
public static int getTotalTabletCount()
getOnlineTabletCount
public static int getOnlineTabletCount()
getTotalEntries
public static long getTotalEntries()
getTotalIngestRate
public static double getTotalIngestRate()
getTotalIngestByteRate
public static double getTotalIngestByteRate()
getTotalQueryRate
public static double getTotalQueryRate()
getTotalQueryByteRate
public static double getTotalQueryByteRate()
getTotalHoldTime
public static long getTotalHoldTime()
getProblemException
public static Exception getProblemException()
getProblemSummary
public static Map<String,Map<ProblemType,Integer>> getProblemSummary()
getGcStatus
public static GCStatus getGcStatus()
getTotalLookups
public static long getTotalLookups()
getStartTime
public static long getStartTime()
getLoadOverTime
public static List<Pair<Long,Double>> getLoadOverTime()
getIngestRateOverTime
public static List<Pair<Long,Double>> getIngestRateOverTime()
getIngestByteRateOverTime
public static List<Pair<Long,Double>> getIngestByteRateOverTime()
getRecoveriesOverTime
public static List<Pair<Long,Integer>> getRecoveriesOverTime()
getMinorCompactionsOverTime
public static List<Pair<Long,Integer>> getMinorCompactionsOverTime()
getMajorCompactionsOverTime
public static List<Pair<Long,Integer>> getMajorCompactionsOverTime()
getLookupsOverTime
public static List<Pair<Long,Double>> getLookupsOverTime()
getLookupRate
public static double getLookupRate()
getQueryRateOverTime
public static List<Pair<Long,Integer>> getQueryRateOverTime()
getQueryByteRateOverTime
public static List<Pair<Long,Double>> getQueryByteRateOverTime()
getIndexCacheHitRateOverTime
public static List<Pair<Long,Double>> getIndexCacheHitRateOverTime()
getDataCacheHitRateOverTime
public static List<Pair<Long,Double>> getDataCacheHitRateOverTime()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.