public static class ReplicationServicer.replicateLog_result extends Object implements org.apache.thrift.TBase<ReplicationServicer.replicateLog_result,ReplicationServicer.replicateLog_result._Fields>, Serializable, Cloneable, Comparable<ReplicationServicer.replicateLog_result>
Modifier and Type | Class and Description |
---|---|
static class |
ReplicationServicer.replicateLog_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
RemoteReplicationException |
e |
static Map<ReplicationServicer.replicateLog_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
success |
Constructor and Description |
---|
replicateLog_result() |
replicateLog_result(long success,
RemoteReplicationException e) |
replicateLog_result(ReplicationServicer.replicateLog_result other)
Performs a deep copy on other.
|
public long success
public RemoteReplicationException e
public static final Map<ReplicationServicer.replicateLog_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public replicateLog_result()
public replicateLog_result(long success, RemoteReplicationException e)
public replicateLog_result(ReplicationServicer.replicateLog_result other)
public ReplicationServicer.replicateLog_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ReplicationServicer.replicateLog_result,ReplicationServicer.replicateLog_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ReplicationServicer.replicateLog_result,ReplicationServicer.replicateLog_result._Fields>
public long getSuccess()
public ReplicationServicer.replicateLog_result setSuccess(long success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public RemoteReplicationException getE()
public ReplicationServicer.replicateLog_result setE(RemoteReplicationException e)
public void unsetE()
public boolean isSetE()
public void setEIsSet(boolean value)
public void setFieldValue(ReplicationServicer.replicateLog_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ReplicationServicer.replicateLog_result,ReplicationServicer.replicateLog_result._Fields>
public Object getFieldValue(ReplicationServicer.replicateLog_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ReplicationServicer.replicateLog_result,ReplicationServicer.replicateLog_result._Fields>
public boolean isSet(ReplicationServicer.replicateLog_result._Fields field)
isSet
in interface org.apache.thrift.TBase<ReplicationServicer.replicateLog_result,ReplicationServicer.replicateLog_result._Fields>
public boolean equals(ReplicationServicer.replicateLog_result that)
public int compareTo(ReplicationServicer.replicateLog_result other)
compareTo
in interface Comparable<ReplicationServicer.replicateLog_result>
public ReplicationServicer.replicateLog_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ReplicationServicer.replicateLog_result,ReplicationServicer.replicateLog_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ReplicationServicer.replicateLog_result,ReplicationServicer.replicateLog_result._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ReplicationServicer.replicateLog_result,ReplicationServicer.replicateLog_result._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.