Class MasterClientService.shutdown_args
- java.lang.Object
-
- org.apache.accumulo.core.master.thrift.MasterClientService.shutdown_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<MasterClientService.shutdown_args>,org.apache.thrift.TBase<MasterClientService.shutdown_args,MasterClientService.shutdown_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- MasterClientService
public static class MasterClientService.shutdown_args extends Object implements org.apache.thrift.TBase<MasterClientService.shutdown_args,MasterClientService.shutdown_args._Fields>, Serializable, Cloneable, Comparable<MasterClientService.shutdown_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMasterClientService.shutdown_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TCredentialscredentialsstatic Map<MasterClientService.shutdown_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapbooleanstopTabletServersTInfotinfo
-
Constructor Summary
Constructors Constructor Description shutdown_args()shutdown_args(MasterClientService.shutdown_args other)Performs a deep copy on other.shutdown_args(TInfo tinfo, TCredentials credentials, boolean stopTabletServers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(MasterClientService.shutdown_args other)MasterClientService.shutdown_argsdeepCopy()booleanequals(Object that)booleanequals(MasterClientService.shutdown_args that)MasterClientService.shutdown_args._FieldsfieldForId(int fieldId)TCredentialsgetCredentials()ObjectgetFieldValue(MasterClientService.shutdown_args._Fields field)TInfogetTinfo()inthashCode()booleanisSet(MasterClientService.shutdown_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCredentials()Returns true if field credentials is set (has been assigned a value) and false otherwisebooleanisSetStopTabletServers()Returns true if field stopTabletServers is set (has been assigned a value) and false otherwisebooleanisSetTinfo()Returns true if field tinfo is set (has been assigned a value) and false otherwisebooleanisStopTabletServers()voidread(org.apache.thrift.protocol.TProtocol iprot)MasterClientService.shutdown_argssetCredentials(TCredentials credentials)voidsetCredentialsIsSet(boolean value)voidsetFieldValue(MasterClientService.shutdown_args._Fields field, Object value)MasterClientService.shutdown_argssetStopTabletServers(boolean stopTabletServers)voidsetStopTabletServersIsSet(boolean value)MasterClientService.shutdown_argssetTinfo(TInfo tinfo)voidsetTinfoIsSet(boolean value)StringtoString()voidunsetCredentials()voidunsetStopTabletServers()voidunsetTinfo()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
tinfo
public TInfo tinfo
-
credentials
public TCredentials credentials
-
stopTabletServers
public boolean stopTabletServers
-
metaDataMap
public static final Map<MasterClientService.shutdown_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
shutdown_args
public shutdown_args()
-
shutdown_args
public shutdown_args(TInfo tinfo, TCredentials credentials, boolean stopTabletServers)
-
shutdown_args
public shutdown_args(MasterClientService.shutdown_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public MasterClientService.shutdown_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<MasterClientService.shutdown_args,MasterClientService.shutdown_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<MasterClientService.shutdown_args,MasterClientService.shutdown_args._Fields>
-
getTinfo
public TInfo getTinfo()
-
setTinfo
public MasterClientService.shutdown_args setTinfo(TInfo tinfo)
-
unsetTinfo
public void unsetTinfo()
-
isSetTinfo
public boolean isSetTinfo()
Returns true if field tinfo is set (has been assigned a value) and false otherwise
-
setTinfoIsSet
public void setTinfoIsSet(boolean value)
-
getCredentials
public TCredentials getCredentials()
-
setCredentials
public MasterClientService.shutdown_args setCredentials(TCredentials credentials)
-
unsetCredentials
public void unsetCredentials()
-
isSetCredentials
public boolean isSetCredentials()
Returns true if field credentials is set (has been assigned a value) and false otherwise
-
setCredentialsIsSet
public void setCredentialsIsSet(boolean value)
-
isStopTabletServers
public boolean isStopTabletServers()
-
setStopTabletServers
public MasterClientService.shutdown_args setStopTabletServers(boolean stopTabletServers)
-
unsetStopTabletServers
public void unsetStopTabletServers()
-
isSetStopTabletServers
public boolean isSetStopTabletServers()
Returns true if field stopTabletServers is set (has been assigned a value) and false otherwise
-
setStopTabletServersIsSet
public void setStopTabletServersIsSet(boolean value)
-
setFieldValue
public void setFieldValue(MasterClientService.shutdown_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<MasterClientService.shutdown_args,MasterClientService.shutdown_args._Fields>
-
getFieldValue
public Object getFieldValue(MasterClientService.shutdown_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<MasterClientService.shutdown_args,MasterClientService.shutdown_args._Fields>
-
isSet
public boolean isSet(MasterClientService.shutdown_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<MasterClientService.shutdown_args,MasterClientService.shutdown_args._Fields>
-
equals
public boolean equals(MasterClientService.shutdown_args that)
-
compareTo
public int compareTo(MasterClientService.shutdown_args other)
- Specified by:
compareToin interfaceComparable<MasterClientService.shutdown_args>
-
fieldForId
public MasterClientService.shutdown_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<MasterClientService.shutdown_args,MasterClientService.shutdown_args._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-