Package com.uber.cadence
Class DomainCacheInfo
- java.lang.Object
-
- com.uber.cadence.DomainCacheInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<DomainCacheInfo>
,org.apache.thrift.TBase<DomainCacheInfo,DomainCacheInfo._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class DomainCacheInfo extends java.lang.Object implements org.apache.thrift.TBase<DomainCacheInfo,DomainCacheInfo._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DomainCacheInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DomainCacheInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<DomainCacheInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
long
numOfItemsInCacheByID
long
numOfItemsInCacheByName
-
Constructor Summary
Constructors Constructor Description DomainCacheInfo()
DomainCacheInfo(DomainCacheInfo other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(DomainCacheInfo other)
DomainCacheInfo
deepCopy()
boolean
equals(DomainCacheInfo that)
boolean
equals(java.lang.Object that)
DomainCacheInfo._Fields
fieldForId(int fieldId)
java.lang.Object
getFieldValue(DomainCacheInfo._Fields field)
long
getNumOfItemsInCacheByID()
long
getNumOfItemsInCacheByName()
int
hashCode()
boolean
isSet(DomainCacheInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetNumOfItemsInCacheByID()
Returns true if field numOfItemsInCacheByID is set (has been assigned a value) and false otherwiseboolean
isSetNumOfItemsInCacheByName()
Returns true if field numOfItemsInCacheByName is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(DomainCacheInfo._Fields field, java.lang.Object value)
DomainCacheInfo
setNumOfItemsInCacheByID(long numOfItemsInCacheByID)
void
setNumOfItemsInCacheByIDIsSet(boolean value)
DomainCacheInfo
setNumOfItemsInCacheByName(long numOfItemsInCacheByName)
void
setNumOfItemsInCacheByNameIsSet(boolean value)
java.lang.String
toString()
void
unsetNumOfItemsInCacheByID()
void
unsetNumOfItemsInCacheByName()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
numOfItemsInCacheByID
public long numOfItemsInCacheByID
-
numOfItemsInCacheByName
public long numOfItemsInCacheByName
-
metaDataMap
public static final java.util.Map<DomainCacheInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
DomainCacheInfo
public DomainCacheInfo()
-
DomainCacheInfo
public DomainCacheInfo(DomainCacheInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public DomainCacheInfo deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<DomainCacheInfo,DomainCacheInfo._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<DomainCacheInfo,DomainCacheInfo._Fields>
-
getNumOfItemsInCacheByID
public long getNumOfItemsInCacheByID()
-
setNumOfItemsInCacheByID
public DomainCacheInfo setNumOfItemsInCacheByID(long numOfItemsInCacheByID)
-
unsetNumOfItemsInCacheByID
public void unsetNumOfItemsInCacheByID()
-
isSetNumOfItemsInCacheByID
public boolean isSetNumOfItemsInCacheByID()
Returns true if field numOfItemsInCacheByID is set (has been assigned a value) and false otherwise
-
setNumOfItemsInCacheByIDIsSet
public void setNumOfItemsInCacheByIDIsSet(boolean value)
-
getNumOfItemsInCacheByName
public long getNumOfItemsInCacheByName()
-
setNumOfItemsInCacheByName
public DomainCacheInfo setNumOfItemsInCacheByName(long numOfItemsInCacheByName)
-
unsetNumOfItemsInCacheByName
public void unsetNumOfItemsInCacheByName()
-
isSetNumOfItemsInCacheByName
public boolean isSetNumOfItemsInCacheByName()
Returns true if field numOfItemsInCacheByName is set (has been assigned a value) and false otherwise
-
setNumOfItemsInCacheByNameIsSet
public void setNumOfItemsInCacheByNameIsSet(boolean value)
-
setFieldValue
public void setFieldValue(DomainCacheInfo._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<DomainCacheInfo,DomainCacheInfo._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(DomainCacheInfo._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<DomainCacheInfo,DomainCacheInfo._Fields>
-
isSet
public boolean isSet(DomainCacheInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<DomainCacheInfo,DomainCacheInfo._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(DomainCacheInfo that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(DomainCacheInfo other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DomainCacheInfo>
-
fieldForId
public DomainCacheInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<DomainCacheInfo,DomainCacheInfo._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<DomainCacheInfo,DomainCacheInfo._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 interfaceorg.apache.thrift.TBase<DomainCacheInfo,DomainCacheInfo._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-