Class TDelegationTokenConfig
- java.lang.Object
-
- org.apache.accumulo.core.securityImpl.thrift.TDelegationTokenConfig
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TDelegationTokenConfig>
,org.apache.thrift.TBase<TDelegationTokenConfig,TDelegationTokenConfig._Fields>
,org.apache.thrift.TSerializable
public class TDelegationTokenConfig extends Object implements org.apache.thrift.TBase<TDelegationTokenConfig,TDelegationTokenConfig._Fields>, Serializable, Cloneable, Comparable<TDelegationTokenConfig>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TDelegationTokenConfig._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 long
lifetime
static Map<TDelegationTokenConfig._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description TDelegationTokenConfig()
TDelegationTokenConfig(TDelegationTokenConfig other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(TDelegationTokenConfig other)
TDelegationTokenConfig
deepCopy()
boolean
equals(Object that)
boolean
equals(TDelegationTokenConfig that)
TDelegationTokenConfig._Fields
fieldForId(int fieldId)
Object
getFieldValue(TDelegationTokenConfig._Fields field)
long
getLifetime()
int
hashCode()
boolean
isSet(TDelegationTokenConfig._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetLifetime()
Returns true if field lifetime is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(TDelegationTokenConfig._Fields field, Object value)
TDelegationTokenConfig
setLifetime(long lifetime)
void
setLifetimeIsSet(boolean value)
String
toString()
void
unsetLifetime()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
lifetime
public long lifetime
-
metaDataMap
public static final Map<TDelegationTokenConfig._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TDelegationTokenConfig
public TDelegationTokenConfig()
-
TDelegationTokenConfig
public TDelegationTokenConfig(TDelegationTokenConfig other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TDelegationTokenConfig deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TDelegationTokenConfig,TDelegationTokenConfig._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TDelegationTokenConfig,TDelegationTokenConfig._Fields>
-
getLifetime
public long getLifetime()
-
setLifetime
public TDelegationTokenConfig setLifetime(long lifetime)
-
unsetLifetime
public void unsetLifetime()
-
isSetLifetime
public boolean isSetLifetime()
Returns true if field lifetime is set (has been assigned a value) and false otherwise
-
setLifetimeIsSet
public void setLifetimeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TDelegationTokenConfig._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TDelegationTokenConfig,TDelegationTokenConfig._Fields>
-
getFieldValue
public Object getFieldValue(TDelegationTokenConfig._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TDelegationTokenConfig,TDelegationTokenConfig._Fields>
-
isSet
public boolean isSet(TDelegationTokenConfig._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<TDelegationTokenConfig,TDelegationTokenConfig._Fields>
-
equals
public boolean equals(TDelegationTokenConfig that)
-
compareTo
public int compareTo(TDelegationTokenConfig other)
- Specified by:
compareTo
in interfaceComparable<TDelegationTokenConfig>
-
fieldForId
public TDelegationTokenConfig._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TDelegationTokenConfig,TDelegationTokenConfig._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in 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:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-