|
||||||||||
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.TabletServerStatus
public class TabletServerStatus
Nested Class Summary | |
---|---|
static class |
TabletServerStatus._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
long |
dataCacheHits
|
long |
dataCacheRequest
|
long |
holdTime
|
long |
indexCacheHits
|
long |
indexCacheRequest
|
long |
lastContact
|
Set<String> |
loggers
|
long |
lookups
|
static Map<TabletServerStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
String |
name
|
double |
osLoad
|
Map<String,TableInfo> |
tableMap
|
Constructor Summary | |
---|---|
TabletServerStatus()
|
|
TabletServerStatus(Map<String,TableInfo> tableMap,
long lastContact,
String name,
double osLoad,
long holdTime,
long lookups,
Set<String> loggers,
long indexCacheHits,
long indexCacheRequest,
long dataCacheHits,
long dataCacheRequest)
|
|
TabletServerStatus(TabletServerStatus other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToLoggers(String elem)
|
void |
clear()
|
int |
compareTo(TabletServerStatus other)
|
TabletServerStatus |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TabletServerStatus that)
|
TabletServerStatus._Fields |
fieldForId(int fieldId)
|
long |
getDataCacheHits()
|
long |
getDataCacheRequest()
|
Object |
getFieldValue(TabletServerStatus._Fields field)
|
long |
getHoldTime()
|
long |
getIndexCacheHits()
|
long |
getIndexCacheRequest()
|
long |
getLastContact()
|
Set<String> |
getLoggers()
|
Iterator<String> |
getLoggersIterator()
|
int |
getLoggersSize()
|
long |
getLookups()
|
String |
getName()
|
double |
getOsLoad()
|
Map<String,TableInfo> |
getTableMap()
|
int |
getTableMapSize()
|
int |
hashCode()
|
boolean |
isSet(TabletServerStatus._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetDataCacheHits()
Returns true if field dataCacheHits is set (has been assigned a value) and false otherwise |
boolean |
isSetDataCacheRequest()
Returns true if field dataCacheRequest is set (has been assigned a value) and false otherwise |
boolean |
isSetHoldTime()
Returns true if field holdTime is set (has been assigned a value) and false otherwise |
boolean |
isSetIndexCacheHits()
Returns true if field indexCacheHits is set (has been assigned a value) and false otherwise |
boolean |
isSetIndexCacheRequest()
Returns true if field indexCacheRequest is set (has been assigned a value) and false otherwise |
boolean |
isSetLastContact()
Returns true if field lastContact is set (has been assigned a value) and false otherwise |
boolean |
isSetLoggers()
Returns true if field loggers is set (has been assigned a value) and false otherwise |
boolean |
isSetLookups()
Returns true if field lookups is set (has been assigned a value) and false otherwise |
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise |
boolean |
isSetOsLoad()
Returns true if field osLoad is set (has been assigned a value) and false otherwise |
boolean |
isSetTableMap()
Returns true if field tableMap is set (has been assigned a value) and false otherwise |
void |
putToTableMap(String key,
TableInfo val)
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TabletServerStatus |
setDataCacheHits(long dataCacheHits)
|
void |
setDataCacheHitsIsSet(boolean value)
|
TabletServerStatus |
setDataCacheRequest(long dataCacheRequest)
|
void |
setDataCacheRequestIsSet(boolean value)
|
void |
setFieldValue(TabletServerStatus._Fields field,
Object value)
|
TabletServerStatus |
setHoldTime(long holdTime)
|
void |
setHoldTimeIsSet(boolean value)
|
TabletServerStatus |
setIndexCacheHits(long indexCacheHits)
|
void |
setIndexCacheHitsIsSet(boolean value)
|
TabletServerStatus |
setIndexCacheRequest(long indexCacheRequest)
|
void |
setIndexCacheRequestIsSet(boolean value)
|
TabletServerStatus |
setLastContact(long lastContact)
|
void |
setLastContactIsSet(boolean value)
|
TabletServerStatus |
setLoggers(Set<String> loggers)
|
void |
setLoggersIsSet(boolean value)
|
TabletServerStatus |
setLookups(long lookups)
|
void |
setLookupsIsSet(boolean value)
|
TabletServerStatus |
setName(String name)
|
void |
setNameIsSet(boolean value)
|
TabletServerStatus |
setOsLoad(double osLoad)
|
void |
setOsLoadIsSet(boolean value)
|
TabletServerStatus |
setTableMap(Map<String,TableInfo> tableMap)
|
void |
setTableMapIsSet(boolean value)
|
String |
toString()
|
void |
unsetDataCacheHits()
|
void |
unsetDataCacheRequest()
|
void |
unsetHoldTime()
|
void |
unsetIndexCacheHits()
|
void |
unsetIndexCacheRequest()
|
void |
unsetLastContact()
|
void |
unsetLoggers()
|
void |
unsetLookups()
|
void |
unsetName()
|
void |
unsetOsLoad()
|
void |
unsetTableMap()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Map<String,TableInfo> tableMap
public long lastContact
public String name
public double osLoad
public long holdTime
public long lookups
public Set<String> loggers
public long indexCacheHits
public long indexCacheRequest
public long dataCacheHits
public long dataCacheRequest
public static final Map<TabletServerStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TabletServerStatus()
public TabletServerStatus(Map<String,TableInfo> tableMap, long lastContact, String name, double osLoad, long holdTime, long lookups, Set<String> loggers, long indexCacheHits, long indexCacheRequest, long dataCacheHits, long dataCacheRequest)
public TabletServerStatus(TabletServerStatus other)
Method Detail |
---|
public TabletServerStatus deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TabletServerStatus,TabletServerStatus._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TabletServerStatus,TabletServerStatus._Fields>
public int getTableMapSize()
public void putToTableMap(String key, TableInfo val)
public Map<String,TableInfo> getTableMap()
public TabletServerStatus setTableMap(Map<String,TableInfo> tableMap)
public void unsetTableMap()
public boolean isSetTableMap()
public void setTableMapIsSet(boolean value)
public long getLastContact()
public TabletServerStatus setLastContact(long lastContact)
public void unsetLastContact()
public boolean isSetLastContact()
public void setLastContactIsSet(boolean value)
public String getName()
public TabletServerStatus setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public double getOsLoad()
public TabletServerStatus setOsLoad(double osLoad)
public void unsetOsLoad()
public boolean isSetOsLoad()
public void setOsLoadIsSet(boolean value)
public long getHoldTime()
public TabletServerStatus setHoldTime(long holdTime)
public void unsetHoldTime()
public boolean isSetHoldTime()
public void setHoldTimeIsSet(boolean value)
public long getLookups()
public TabletServerStatus setLookups(long lookups)
public void unsetLookups()
public boolean isSetLookups()
public void setLookupsIsSet(boolean value)
public int getLoggersSize()
public Iterator<String> getLoggersIterator()
public void addToLoggers(String elem)
public Set<String> getLoggers()
public TabletServerStatus setLoggers(Set<String> loggers)
public void unsetLoggers()
public boolean isSetLoggers()
public void setLoggersIsSet(boolean value)
public long getIndexCacheHits()
public TabletServerStatus setIndexCacheHits(long indexCacheHits)
public void unsetIndexCacheHits()
public boolean isSetIndexCacheHits()
public void setIndexCacheHitsIsSet(boolean value)
public long getIndexCacheRequest()
public TabletServerStatus setIndexCacheRequest(long indexCacheRequest)
public void unsetIndexCacheRequest()
public boolean isSetIndexCacheRequest()
public void setIndexCacheRequestIsSet(boolean value)
public long getDataCacheHits()
public TabletServerStatus setDataCacheHits(long dataCacheHits)
public void unsetDataCacheHits()
public boolean isSetDataCacheHits()
public void setDataCacheHitsIsSet(boolean value)
public long getDataCacheRequest()
public TabletServerStatus setDataCacheRequest(long dataCacheRequest)
public void unsetDataCacheRequest()
public boolean isSetDataCacheRequest()
public void setDataCacheRequestIsSet(boolean value)
public void setFieldValue(TabletServerStatus._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TabletServerStatus,TabletServerStatus._Fields>
public Object getFieldValue(TabletServerStatus._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TabletServerStatus,TabletServerStatus._Fields>
public boolean isSet(TabletServerStatus._Fields field)
isSet
in interface org.apache.thrift.TBase<TabletServerStatus,TabletServerStatus._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TabletServerStatus that)
public int hashCode()
hashCode
in class Object
public int compareTo(TabletServerStatus other)
compareTo
in interface Comparable<TabletServerStatus>
public TabletServerStatus._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TabletServerStatus,TabletServerStatus._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TabletServerStatus,TabletServerStatus._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<TabletServerStatus,TabletServerStatus._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 |