Class WorkerTokenInfo

    • Constructor Detail

      • WorkerTokenInfo

        public WorkerTokenInfo()
      • WorkerTokenInfo

        public WorkerTokenInfo​(String userName,
                               String topologyId,
                               long secretVersion,
                               long expirationTimeMillis)
      • WorkerTokenInfo

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

      • get_userName

        public String get_userName()
      • set_userName

        public void set_userName​(String userName)
      • unset_userName

        public void unset_userName()
      • is_set_userName

        public boolean is_set_userName()
        Returns true if field userName is set (has been assigned a value) and false otherwise
      • set_userName_isSet

        public void set_userName_isSet​(boolean value)
      • get_topologyId

        public String get_topologyId()
      • set_topologyId

        public void set_topologyId​(String topologyId)
      • unset_topologyId

        public void unset_topologyId()
      • is_set_topologyId

        public boolean is_set_topologyId()
        Returns true if field topologyId is set (has been assigned a value) and false otherwise
      • set_topologyId_isSet

        public void set_topologyId_isSet​(boolean value)
      • get_secretVersion

        public long get_secretVersion()
      • set_secretVersion

        public void set_secretVersion​(long secretVersion)
      • unset_secretVersion

        public void unset_secretVersion()
      • is_set_secretVersion

        public boolean is_set_secretVersion()
        Returns true if field secretVersion is set (has been assigned a value) and false otherwise
      • set_secretVersion_isSet

        public void set_secretVersion_isSet​(boolean value)
      • get_expirationTimeMillis

        public long get_expirationTimeMillis()
      • set_expirationTimeMillis

        public void set_expirationTimeMillis​(long expirationTimeMillis)
      • unset_expirationTimeMillis

        public void unset_expirationTimeMillis()
      • is_set_expirationTimeMillis

        public boolean is_set_expirationTimeMillis()
        Returns true if field expirationTimeMillis is set (has been assigned a value) and false otherwise
      • set_expirationTimeMillis_isSet

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