Class PollerInfo

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PollerInfo>, org.apache.thrift.TBase<PollerInfo,​PollerInfo._Fields>

    @Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
               date="2023-05-19")
    public class PollerInfo
    extends java.lang.Object
    implements org.apache.thrift.TBase<PollerInfo,​PollerInfo._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PollerInfo>
    See Also:
    Serialized Form
    • Field Detail

      • lastAccessTime

        public long lastAccessTime
      • identity

        public java.lang.String identity
      • ratePerSecond

        public double ratePerSecond
      • metaDataMap

        public static final java.util.Map<PollerInfo._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • PollerInfo

        public PollerInfo()
      • PollerInfo

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

      • getLastAccessTime

        public long getLastAccessTime()
      • setLastAccessTime

        public PollerInfo setLastAccessTime​(long lastAccessTime)
      • unsetLastAccessTime

        public void unsetLastAccessTime()
      • isSetLastAccessTime

        public boolean isSetLastAccessTime()
        Returns true if field lastAccessTime is set (has been assigned a value) and false otherwise
      • setLastAccessTimeIsSet

        public void setLastAccessTimeIsSet​(boolean value)
      • getIdentity

        public java.lang.String getIdentity()
      • setIdentity

        public PollerInfo setIdentity​(java.lang.String identity)
      • unsetIdentity

        public void unsetIdentity()
      • isSetIdentity

        public boolean isSetIdentity()
        Returns true if field identity is set (has been assigned a value) and false otherwise
      • setIdentityIsSet

        public void setIdentityIsSet​(boolean value)
      • getRatePerSecond

        public double getRatePerSecond()
      • setRatePerSecond

        public PollerInfo setRatePerSecond​(double ratePerSecond)
      • unsetRatePerSecond

        public void unsetRatePerSecond()
      • isSetRatePerSecond

        public boolean isSetRatePerSecond()
        Returns true if field ratePerSecond is set (has been assigned a value) and false otherwise
      • setRatePerSecondIsSet

        public void setRatePerSecondIsSet​(boolean value)
      • isSet

        public boolean isSet​(PollerInfo._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.thrift.TBase<PollerInfo,​PollerInfo._Fields>
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object
      • equals

        public boolean equals​(PollerInfo that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(PollerInfo other)
        Specified by:
        compareTo in interface java.lang.Comparable<PollerInfo>
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TBase<PollerInfo,​PollerInfo._Fields>
        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.TBase<PollerInfo,​PollerInfo._Fields>
        Throws:
        org.apache.thrift.TException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validate

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