Class LSApprovedWorkers

    • Constructor Detail

      • LSApprovedWorkers

        public LSApprovedWorkers()
      • LSApprovedWorkers

        public LSApprovedWorkers​(Map<String,​Integer> approved_workers)
      • LSApprovedWorkers

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

      • get_approved_workers_size

        public int get_approved_workers_size()
      • put_to_approved_workers

        public void put_to_approved_workers​(String key,
                                            int val)
      • set_approved_workers

        public void set_approved_workers​(Map<String,​Integer> approved_workers)
      • unset_approved_workers

        public void unset_approved_workers()
      • is_set_approved_workers

        public boolean is_set_approved_workers()
        Returns true if field approved_workers is set (has been assigned a value) and false otherwise
      • set_approved_workers_isSet

        public void set_approved_workers_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