Class SupervisorSummary

    • Constructor Detail

      • SupervisorSummary

        public SupervisorSummary()
      • SupervisorSummary

        public SupervisorSummary​(String host,
                                 int uptime_secs,
                                 int num_workers,
                                 int num_used_workers,
                                 String supervisor_id)
      • SupervisorSummary

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

      • get_host

        public String get_host()
      • set_host

        public void set_host​(String host)
      • unset_host

        public void unset_host()
      • is_set_host

        public boolean is_set_host()
        Returns true if field host is set (has been assigned a value) and false otherwise
      • set_host_isSet

        public void set_host_isSet​(boolean value)
      • get_uptime_secs

        public int get_uptime_secs()
      • set_uptime_secs

        public void set_uptime_secs​(int uptime_secs)
      • unset_uptime_secs

        public void unset_uptime_secs()
      • is_set_uptime_secs

        public boolean is_set_uptime_secs()
        Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
      • set_uptime_secs_isSet

        public void set_uptime_secs_isSet​(boolean value)
      • get_num_workers

        public int get_num_workers()
      • set_num_workers

        public void set_num_workers​(int num_workers)
      • unset_num_workers

        public void unset_num_workers()
      • is_set_num_workers

        public boolean is_set_num_workers()
        Returns true if field num_workers is set (has been assigned a value) and false otherwise
      • set_num_workers_isSet

        public void set_num_workers_isSet​(boolean value)
      • get_num_used_workers

        public int get_num_used_workers()
      • set_num_used_workers

        public void set_num_used_workers​(int num_used_workers)
      • unset_num_used_workers

        public void unset_num_used_workers()
      • is_set_num_used_workers

        public boolean is_set_num_used_workers()
        Returns true if field num_used_workers is set (has been assigned a value) and false otherwise
      • set_num_used_workers_isSet

        public void set_num_used_workers_isSet​(boolean value)
      • get_supervisor_id

        public String get_supervisor_id()
      • set_supervisor_id

        public void set_supervisor_id​(String supervisor_id)
      • unset_supervisor_id

        public void unset_supervisor_id()
      • is_set_supervisor_id

        public boolean is_set_supervisor_id()
        Returns true if field supervisor_id is set (has been assigned a value) and false otherwise
      • set_supervisor_id_isSet

        public void set_supervisor_id_isSet​(boolean value)
      • get_version

        public String get_version()
      • set_version

        public void set_version​(String version)
      • unset_version

        public void unset_version()
      • is_set_version

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

        public void set_version_isSet​(boolean value)
      • get_total_resources_size

        public int get_total_resources_size()
      • put_to_total_resources

        public void put_to_total_resources​(String key,
                                           double val)
      • set_total_resources

        public void set_total_resources​(Map<String,​Double> total_resources)
      • unset_total_resources

        public void unset_total_resources()
      • is_set_total_resources

        public boolean is_set_total_resources()
        Returns true if field total_resources is set (has been assigned a value) and false otherwise
      • set_total_resources_isSet

        public void set_total_resources_isSet​(boolean value)
      • get_used_mem

        public double get_used_mem()
      • set_used_mem

        public void set_used_mem​(double used_mem)
      • unset_used_mem

        public void unset_used_mem()
      • is_set_used_mem

        public boolean is_set_used_mem()
        Returns true if field used_mem is set (has been assigned a value) and false otherwise
      • set_used_mem_isSet

        public void set_used_mem_isSet​(boolean value)
      • get_used_cpu

        public double get_used_cpu()
      • set_used_cpu

        public void set_used_cpu​(double used_cpu)
      • unset_used_cpu

        public void unset_used_cpu()
      • is_set_used_cpu

        public boolean is_set_used_cpu()
        Returns true if field used_cpu is set (has been assigned a value) and false otherwise
      • set_used_cpu_isSet

        public void set_used_cpu_isSet​(boolean value)
      • get_fragmented_mem

        public double get_fragmented_mem()
      • set_fragmented_mem

        public void set_fragmented_mem​(double fragmented_mem)
      • unset_fragmented_mem

        public void unset_fragmented_mem()
      • is_set_fragmented_mem

        public boolean is_set_fragmented_mem()
        Returns true if field fragmented_mem is set (has been assigned a value) and false otherwise
      • set_fragmented_mem_isSet

        public void set_fragmented_mem_isSet​(boolean value)
      • get_fragmented_cpu

        public double get_fragmented_cpu()
      • set_fragmented_cpu

        public void set_fragmented_cpu​(double fragmented_cpu)
      • unset_fragmented_cpu

        public void unset_fragmented_cpu()
      • is_set_fragmented_cpu

        public boolean is_set_fragmented_cpu()
        Returns true if field fragmented_cpu is set (has been assigned a value) and false otherwise
      • set_fragmented_cpu_isSet

        public void set_fragmented_cpu_isSet​(boolean value)
      • is_blacklisted

        public boolean is_blacklisted()
      • set_blacklisted

        public void set_blacklisted​(boolean blacklisted)
      • unset_blacklisted

        public void unset_blacklisted()
      • is_set_blacklisted

        public boolean is_set_blacklisted()
        Returns true if field blacklisted is set (has been assigned a value) and false otherwise
      • set_blacklisted_isSet

        public void set_blacklisted_isSet​(boolean value)
      • get_used_generic_resources_size

        public int get_used_generic_resources_size()
      • put_to_used_generic_resources

        public void put_to_used_generic_resources​(String key,
                                                  double val)
      • get_used_generic_resources

        public Map<String,​Double> get_used_generic_resources()
      • set_used_generic_resources

        public void set_used_generic_resources​(Map<String,​Double> used_generic_resources)
      • unset_used_generic_resources

        public void unset_used_generic_resources()
      • is_set_used_generic_resources

        public boolean is_set_used_generic_resources()
        Returns true if field used_generic_resources is set (has been assigned a value) and false otherwise
      • set_used_generic_resources_isSet

        public void set_used_generic_resources_isSet​(boolean value)
      • hashCode

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

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

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

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