Class TNodeMemoryInfo

    • Field Detail

      • host_name

        public String host_name
      • page_size

        public long page_size
      • max_num_pages

        public long max_num_pages
      • num_pages_allocated

        public long num_pages_allocated
      • is_allocation_capped

        public boolean is_allocation_capped
    • Constructor Detail

      • TNodeMemoryInfo

        public TNodeMemoryInfo()
      • TNodeMemoryInfo

        public TNodeMemoryInfo​(String host_name,
                               long page_size,
                               long max_num_pages,
                               long num_pages_allocated,
                               boolean is_allocation_capped,
                               List<TMemoryData> node_memory_data)
      • TNodeMemoryInfo

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

      • getHost_name

        public String getHost_name()
      • unsetHost_name

        public void unsetHost_name()
      • isSetHost_name

        public boolean isSetHost_name()
        Returns true if field host_name is set (has been assigned a value) and false otherwise
      • setHost_nameIsSet

        public void setHost_nameIsSet​(boolean value)
      • getPage_size

        public long getPage_size()
      • unsetPage_size

        public void unsetPage_size()
      • isSetPage_size

        public boolean isSetPage_size()
        Returns true if field page_size is set (has been assigned a value) and false otherwise
      • setPage_sizeIsSet

        public void setPage_sizeIsSet​(boolean value)
      • getMax_num_pages

        public long getMax_num_pages()
      • setMax_num_pages

        public TNodeMemoryInfo setMax_num_pages​(long max_num_pages)
      • unsetMax_num_pages

        public void unsetMax_num_pages()
      • isSetMax_num_pages

        public boolean isSetMax_num_pages()
        Returns true if field max_num_pages is set (has been assigned a value) and false otherwise
      • setMax_num_pagesIsSet

        public void setMax_num_pagesIsSet​(boolean value)
      • getNum_pages_allocated

        public long getNum_pages_allocated()
      • setNum_pages_allocated

        public TNodeMemoryInfo setNum_pages_allocated​(long num_pages_allocated)
      • unsetNum_pages_allocated

        public void unsetNum_pages_allocated()
      • isSetNum_pages_allocated

        public boolean isSetNum_pages_allocated()
        Returns true if field num_pages_allocated is set (has been assigned a value) and false otherwise
      • setNum_pages_allocatedIsSet

        public void setNum_pages_allocatedIsSet​(boolean value)
      • isIs_allocation_capped

        public boolean isIs_allocation_capped()
      • setIs_allocation_capped

        public TNodeMemoryInfo setIs_allocation_capped​(boolean is_allocation_capped)
      • unsetIs_allocation_capped

        public void unsetIs_allocation_capped()
      • isSetIs_allocation_capped

        public boolean isSetIs_allocation_capped()
        Returns true if field is_allocation_capped is set (has been assigned a value) and false otherwise
      • setIs_allocation_cappedIsSet

        public void setIs_allocation_cappedIsSet​(boolean value)
      • getNode_memory_dataSize

        public int getNode_memory_dataSize()
      • addToNode_memory_data

        public void addToNode_memory_data​(TMemoryData elem)
      • unsetNode_memory_data

        public void unsetNode_memory_data()
      • isSetNode_memory_data

        public boolean isSetNode_memory_data()
        Returns true if field node_memory_data is set (has been assigned a value) and false otherwise
      • setNode_memory_dataIsSet

        public void setNode_memory_dataIsSet​(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