Class TabletServerStatus

    • Field Detail

      • lastContact

        public long lastContact
      • osLoad

        public double osLoad
      • holdTime

        public long holdTime
      • lookups

        public long lookups
      • indexCacheHits

        public long indexCacheHits
      • indexCacheRequest

        public long indexCacheRequest
      • dataCacheHits

        public long dataCacheHits
      • dataCacheRequest

        public long dataCacheRequest
      • flushs

        public long flushs
      • syncs

        public long syncs
      • version

        public String version
      • responseTime

        public long responseTime
    • Constructor Detail

      • TabletServerStatus

        public TabletServerStatus()
      • TabletServerStatus

        public TabletServerStatus​(Map<String,​TableInfo> tableMap,
                                  long lastContact,
                                  String name,
                                  double osLoad,
                                  long holdTime,
                                  long lookups,
                                  long indexCacheHits,
                                  long indexCacheRequest,
                                  long dataCacheHits,
                                  long dataCacheRequest,
                                  List<RecoveryStatus> logSorts,
                                  long flushs,
                                  long syncs,
                                  List<BulkImportStatus> bulkImports,
                                  String version,
                                  long responseTime)
      • TabletServerStatus

        public TabletServerStatus​(TabletServerStatus other)
        Performs a deep copy on other.
    • Method Detail

      • getTableMapSize

        public int getTableMapSize()
      • putToTableMap

        public void putToTableMap​(String key,
                                  TableInfo val)
      • unsetTableMap

        public void unsetTableMap()
      • isSetTableMap

        public boolean isSetTableMap()
        Returns true if field tableMap is set (has been assigned a value) and false otherwise
      • setTableMapIsSet

        public void setTableMapIsSet​(boolean value)
      • getLastContact

        public long getLastContact()
      • unsetLastContact

        public void unsetLastContact()
      • isSetLastContact

        public boolean isSetLastContact()
        Returns true if field lastContact is set (has been assigned a value) and false otherwise
      • setLastContactIsSet

        public void setLastContactIsSet​(boolean value)
      • getName

        public String getName()
      • unsetName

        public void unsetName()
      • isSetName

        public boolean isSetName()
        Returns true if field name is set (has been assigned a value) and false otherwise
      • setNameIsSet

        public void setNameIsSet​(boolean value)
      • getOsLoad

        public double getOsLoad()
      • unsetOsLoad

        public void unsetOsLoad()
      • isSetOsLoad

        public boolean isSetOsLoad()
        Returns true if field osLoad is set (has been assigned a value) and false otherwise
      • setOsLoadIsSet

        public void setOsLoadIsSet​(boolean value)
      • getHoldTime

        public long getHoldTime()
      • unsetHoldTime

        public void unsetHoldTime()
      • isSetHoldTime

        public boolean isSetHoldTime()
        Returns true if field holdTime is set (has been assigned a value) and false otherwise
      • setHoldTimeIsSet

        public void setHoldTimeIsSet​(boolean value)
      • getLookups

        public long getLookups()
      • unsetLookups

        public void unsetLookups()
      • isSetLookups

        public boolean isSetLookups()
        Returns true if field lookups is set (has been assigned a value) and false otherwise
      • setLookupsIsSet

        public void setLookupsIsSet​(boolean value)
      • getIndexCacheHits

        public long getIndexCacheHits()
      • setIndexCacheHits

        public TabletServerStatus setIndexCacheHits​(long indexCacheHits)
      • unsetIndexCacheHits

        public void unsetIndexCacheHits()
      • isSetIndexCacheHits

        public boolean isSetIndexCacheHits()
        Returns true if field indexCacheHits is set (has been assigned a value) and false otherwise
      • setIndexCacheHitsIsSet

        public void setIndexCacheHitsIsSet​(boolean value)
      • getIndexCacheRequest

        public long getIndexCacheRequest()
      • setIndexCacheRequest

        public TabletServerStatus setIndexCacheRequest​(long indexCacheRequest)
      • unsetIndexCacheRequest

        public void unsetIndexCacheRequest()
      • isSetIndexCacheRequest

        public boolean isSetIndexCacheRequest()
        Returns true if field indexCacheRequest is set (has been assigned a value) and false otherwise
      • setIndexCacheRequestIsSet

        public void setIndexCacheRequestIsSet​(boolean value)
      • getDataCacheHits

        public long getDataCacheHits()
      • unsetDataCacheHits

        public void unsetDataCacheHits()
      • isSetDataCacheHits

        public boolean isSetDataCacheHits()
        Returns true if field dataCacheHits is set (has been assigned a value) and false otherwise
      • setDataCacheHitsIsSet

        public void setDataCacheHitsIsSet​(boolean value)
      • getDataCacheRequest

        public long getDataCacheRequest()
      • setDataCacheRequest

        public TabletServerStatus setDataCacheRequest​(long dataCacheRequest)
      • unsetDataCacheRequest

        public void unsetDataCacheRequest()
      • isSetDataCacheRequest

        public boolean isSetDataCacheRequest()
        Returns true if field dataCacheRequest is set (has been assigned a value) and false otherwise
      • setDataCacheRequestIsSet

        public void setDataCacheRequestIsSet​(boolean value)
      • getLogSortsSize

        public int getLogSortsSize()
      • unsetLogSorts

        public void unsetLogSorts()
      • isSetLogSorts

        public boolean isSetLogSorts()
        Returns true if field logSorts is set (has been assigned a value) and false otherwise
      • setLogSortsIsSet

        public void setLogSortsIsSet​(boolean value)
      • getFlushs

        public long getFlushs()
      • unsetFlushs

        public void unsetFlushs()
      • isSetFlushs

        public boolean isSetFlushs()
        Returns true if field flushs is set (has been assigned a value) and false otherwise
      • setFlushsIsSet

        public void setFlushsIsSet​(boolean value)
      • getSyncs

        public long getSyncs()
      • unsetSyncs

        public void unsetSyncs()
      • isSetSyncs

        public boolean isSetSyncs()
        Returns true if field syncs is set (has been assigned a value) and false otherwise
      • setSyncsIsSet

        public void setSyncsIsSet​(boolean value)
      • getBulkImportsSize

        public int getBulkImportsSize()
      • unsetBulkImports

        public void unsetBulkImports()
      • isSetBulkImports

        public boolean isSetBulkImports()
        Returns true if field bulkImports is set (has been assigned a value) and false otherwise
      • setBulkImportsIsSet

        public void setBulkImportsIsSet​(boolean value)
      • getVersion

        public String getVersion()
      • unsetVersion

        public void unsetVersion()
      • isSetVersion

        public boolean isSetVersion()
        Returns true if field version is set (has been assigned a value) and false otherwise
      • setVersionIsSet

        public void setVersionIsSet​(boolean value)
      • getResponseTime

        public long getResponseTime()
      • unsetResponseTime

        public void unsetResponseTime()
      • isSetResponseTime

        public boolean isSetResponseTime()
        Returns true if field responseTime is set (has been assigned a value) and false otherwise
      • setResponseTimeIsSet

        public void setResponseTimeIsSet​(boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException