Package org.apache.accumulo.monitor.rest
Class SummaryInformation
- java.lang.Object
-
- org.apache.accumulo.monitor.rest.SummaryInformation
-
public class SummaryInformation extends Object
Generate summary of Monitor- Since:
- 2.0.0
-
-
Field Summary
Fields Modifier and Type Field Description BadTabletServersbadTabletServersDeadLoggerListdeadLoggersDeadServerListdeadTabletServersStringmasterGoalStateStringmasterStateList<TabletServer>serversTableInformationListtablesServersShuttingDowntabletServersShuttingDownTotalstotalsIntegerunassignedTablets
-
Constructor Summary
Constructors Constructor Description SummaryInformation()SummaryInformation(int size, MasterInformation info, TableInformationList tablesList)Stores Monitor information as XML or JSON
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTabletServer(TabletServer tablet)Adds a new tablet
-
-
-
Field Detail
-
servers
public List<TabletServer> servers
-
masterGoalState
public String masterGoalState
-
masterState
public String masterState
-
badTabletServers
public BadTabletServers badTabletServers
-
tabletServersShuttingDown
public ServersShuttingDown tabletServersShuttingDown
-
unassignedTablets
public Integer unassignedTablets
-
deadTabletServers
public DeadServerList deadTabletServers
-
deadLoggers
public DeadLoggerList deadLoggers
-
tables
public TableInformationList tables
-
totals
public Totals totals
-
-
Constructor Detail
-
SummaryInformation
public SummaryInformation()
-
SummaryInformation
public SummaryInformation(int size, MasterInformation info, TableInformationList tablesList)Stores Monitor information as XML or JSON- Parameters:
size- Number of tserversinfo- Master informationtablesList- Table list
-
-
Method Detail
-
addTabletServer
public void addTabletServer(TabletServer tablet)
Adds a new tablet- Parameters:
tablet- Tablet to add
-
-