public class SyncInfo extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<SyncInfo>
| Modifier and Type | Class and Description |
|---|---|
static class |
SyncInfo.Builder |
| Modifier and Type | Field and Description |
|---|---|
long |
id_lag |
static int |
ID_LAG |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
SyncStatus |
status |
static int |
STATUS |
long |
time_latency |
static int |
TIME_LATENCY |
| Constructor and Description |
|---|
SyncInfo() |
SyncInfo(long time_latency,
long id_lag,
SyncStatus status) |
SyncInfo(SyncInfo other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static SyncInfo.Builder |
builder() |
int |
compareTo(SyncInfo other) |
SyncInfo |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Object |
getFieldValue(int fieldID) |
long |
getId_lag() |
SyncStatus |
getStatus() |
long |
getTime_latency() |
int |
hashCode() |
boolean |
isSetId_lag() |
boolean |
isSetStatus() |
boolean |
isSetTime_latency() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
void |
setFieldValue(int fieldID,
Object __value) |
SyncInfo |
setId_lag(long id_lag) |
void |
setId_lagIsSet(boolean __value) |
SyncInfo |
setStatus(SyncStatus status) |
void |
setStatusIsSet(boolean __value) |
SyncInfo |
setTime_latency(long time_latency) |
void |
setTime_latencyIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetId_lag() |
void |
unsetStatus() |
void |
unsetTime_latency() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public long time_latency
public long id_lag
public SyncStatus status
SyncStatuspublic static final int TIME_LATENCY
public static final int ID_LAG
public static final int STATUS
public SyncInfo()
public SyncInfo(long time_latency,
long id_lag,
SyncStatus status)
public SyncInfo(SyncInfo other)
public static SyncInfo.Builder builder()
public SyncInfo deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic long getTime_latency()
public SyncInfo setTime_latency(long time_latency)
public void unsetTime_latency()
public boolean isSetTime_latency()
public void setTime_latencyIsSet(boolean __value)
public long getId_lag()
public SyncInfo setId_lag(long id_lag)
public void unsetId_lag()
public boolean isSetId_lag()
public void setId_lagIsSet(boolean __value)
public SyncStatus getStatus()
SyncStatuspublic SyncInfo setStatus(SyncStatus status)
SyncStatuspublic void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(SyncInfo other)
compareTo in interface Comparable<SyncInfo>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2024. All rights reserved.