Class WorkerToken

    • Field Detail

      • metaDataMap

        public static final Map<WorkerToken._Fields,​org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
    • Method Detail

      • unset_serviceType

        public void unset_serviceType()
      • is_set_serviceType

        public boolean is_set_serviceType()
        Returns true if field serviceType is set (has been assigned a value) and false otherwise
      • set_serviceType_isSet

        public void set_serviceType_isSet​(boolean value)
      • get_info

        public byte[] get_info()
      • buffer_for_info

        public ByteBuffer buffer_for_info()
      • set_info

        public void set_info​(byte[] info)
      • set_info

        public void set_info​(ByteBuffer info)
      • unset_info

        public void unset_info()
      • is_set_info

        public boolean is_set_info()
        Returns true if field info is set (has been assigned a value) and false otherwise
      • set_info_isSet

        public void set_info_isSet​(boolean value)
      • get_signature

        public byte[] get_signature()
      • buffer_for_signature

        public ByteBuffer buffer_for_signature()
      • set_signature

        public void set_signature​(byte[] signature)
      • set_signature

        public void set_signature​(ByteBuffer signature)
      • unset_signature

        public void unset_signature()
      • is_set_signature

        public boolean is_set_signature()
        Returns true if field signature is set (has been assigned a value) and false otherwise
      • set_signature_isSet

        public void set_signature_isSet​(boolean value)
      • isSet

        public boolean isSet​(WorkerToken._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.storm.thrift.TBase<WorkerToken,​WorkerToken._Fields>
      • 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