|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.master.thrift.MasterMonitorInfo
public class MasterMonitorInfo
Nested Class Summary | |
---|---|
static class |
MasterMonitorInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
Map<String,Byte> |
badTServers
|
List<DeadServer> |
deadLoggers
|
List<DeadServer> |
deadTabletServers
|
MasterGoalState |
goalState
|
List<LoggerStatus> |
loggers
|
static Map<MasterMonitorInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
List<RecoveryStatus> |
recovery
|
Set<String> |
serversShuttingDown
|
MasterState |
state
|
Map<String,TableInfo> |
tableMap
|
List<TabletServerStatus> |
tServerInfo
|
int |
unassignedTablets
|
Constructor Summary | |
---|---|
MasterMonitorInfo()
|
|
MasterMonitorInfo(Map<String,TableInfo> tableMap,
List<TabletServerStatus> tServerInfo,
Map<String,Byte> badTServers,
List<RecoveryStatus> recovery,
List<LoggerStatus> loggers,
MasterState state,
MasterGoalState goalState,
int unassignedTablets,
Set<String> serversShuttingDown,
List<DeadServer> deadTabletServers,
List<DeadServer> deadLoggers)
|
|
MasterMonitorInfo(MasterMonitorInfo other)
Performs a deep copy on other. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Map<String,TableInfo> tableMap
public List<TabletServerStatus> tServerInfo
public Map<String,Byte> badTServers
public List<RecoveryStatus> recovery
public List<LoggerStatus> loggers
public MasterState state
MasterState
public MasterGoalState goalState
MasterGoalState
public int unassignedTablets
public Set<String> serversShuttingDown
public List<DeadServer> deadTabletServers
public List<DeadServer> deadLoggers
public static final Map<MasterMonitorInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public MasterMonitorInfo()
public MasterMonitorInfo(Map<String,TableInfo> tableMap, List<TabletServerStatus> tServerInfo, Map<String,Byte> badTServers, List<RecoveryStatus> recovery, List<LoggerStatus> loggers, MasterState state, MasterGoalState goalState, int unassignedTablets, Set<String> serversShuttingDown, List<DeadServer> deadTabletServers, List<DeadServer> deadLoggers)
public MasterMonitorInfo(MasterMonitorInfo other)
Method Detail |
---|
public MasterMonitorInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<MasterMonitorInfo,MasterMonitorInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<MasterMonitorInfo,MasterMonitorInfo._Fields>
public int getTableMapSize()
public void putToTableMap(String key, TableInfo val)
public Map<String,TableInfo> getTableMap()
public MasterMonitorInfo setTableMap(Map<String,TableInfo> tableMap)
public void unsetTableMap()
public boolean isSetTableMap()
public void setTableMapIsSet(boolean value)
public int getTServerInfoSize()
public Iterator<TabletServerStatus> getTServerInfoIterator()
public void addToTServerInfo(TabletServerStatus elem)
public List<TabletServerStatus> getTServerInfo()
public MasterMonitorInfo setTServerInfo(List<TabletServerStatus> tServerInfo)
public void unsetTServerInfo()
public boolean isSetTServerInfo()
public void setTServerInfoIsSet(boolean value)
public int getBadTServersSize()
public void putToBadTServers(String key, byte val)
public Map<String,Byte> getBadTServers()
public MasterMonitorInfo setBadTServers(Map<String,Byte> badTServers)
public void unsetBadTServers()
public boolean isSetBadTServers()
public void setBadTServersIsSet(boolean value)
public int getRecoverySize()
public Iterator<RecoveryStatus> getRecoveryIterator()
public void addToRecovery(RecoveryStatus elem)
public List<RecoveryStatus> getRecovery()
public MasterMonitorInfo setRecovery(List<RecoveryStatus> recovery)
public void unsetRecovery()
public boolean isSetRecovery()
public void setRecoveryIsSet(boolean value)
public int getLoggersSize()
public Iterator<LoggerStatus> getLoggersIterator()
public void addToLoggers(LoggerStatus elem)
public List<LoggerStatus> getLoggers()
public MasterMonitorInfo setLoggers(List<LoggerStatus> loggers)
public void unsetLoggers()
public boolean isSetLoggers()
public void setLoggersIsSet(boolean value)
public MasterState getState()
MasterState
public MasterMonitorInfo setState(MasterState state)
MasterState
public void unsetState()
public boolean isSetState()
public void setStateIsSet(boolean value)
public MasterGoalState getGoalState()
MasterGoalState
public MasterMonitorInfo setGoalState(MasterGoalState goalState)
MasterGoalState
public void unsetGoalState()
public boolean isSetGoalState()
public void setGoalStateIsSet(boolean value)
public int getUnassignedTablets()
public MasterMonitorInfo setUnassignedTablets(int unassignedTablets)
public void unsetUnassignedTablets()
public boolean isSetUnassignedTablets()
public void setUnassignedTabletsIsSet(boolean value)
public int getServersShuttingDownSize()
public Iterator<String> getServersShuttingDownIterator()
public void addToServersShuttingDown(String elem)
public Set<String> getServersShuttingDown()
public MasterMonitorInfo setServersShuttingDown(Set<String> serversShuttingDown)
public void unsetServersShuttingDown()
public boolean isSetServersShuttingDown()
public void setServersShuttingDownIsSet(boolean value)
public int getDeadTabletServersSize()
public Iterator<DeadServer> getDeadTabletServersIterator()
public void addToDeadTabletServers(DeadServer elem)
public List<DeadServer> getDeadTabletServers()
public MasterMonitorInfo setDeadTabletServers(List<DeadServer> deadTabletServers)
public void unsetDeadTabletServers()
public boolean isSetDeadTabletServers()
public void setDeadTabletServersIsSet(boolean value)
public int getDeadLoggersSize()
public Iterator<DeadServer> getDeadLoggersIterator()
public void addToDeadLoggers(DeadServer elem)
public List<DeadServer> getDeadLoggers()
public MasterMonitorInfo setDeadLoggers(List<DeadServer> deadLoggers)
public void unsetDeadLoggers()
public boolean isSetDeadLoggers()
public void setDeadLoggersIsSet(boolean value)
public void setFieldValue(MasterMonitorInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<MasterMonitorInfo,MasterMonitorInfo._Fields>
public Object getFieldValue(MasterMonitorInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<MasterMonitorInfo,MasterMonitorInfo._Fields>
public boolean isSet(MasterMonitorInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<MasterMonitorInfo,MasterMonitorInfo._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(MasterMonitorInfo that)
public int hashCode()
hashCode
in class Object
public int compareTo(MasterMonitorInfo other)
compareTo
in interface Comparable<MasterMonitorInfo>
public MasterMonitorInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<MasterMonitorInfo,MasterMonitorInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<MasterMonitorInfo,MasterMonitorInfo._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<MasterMonitorInfo,MasterMonitorInfo._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |