public abstract class AbstractDelegationTokenIdentifier extends TokenIdentifier
构造器和说明 |
---|
AbstractDelegationTokenIdentifier() |
AbstractDelegationTokenIdentifier(Text owner,
Text renewer,
Text realUser) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(Object obj) |
long |
getIssueDate() |
abstract Text |
getKind()
Get the token kind
|
int |
getMasterKeyId() |
long |
getMaxDate() |
Text |
getRenewer() |
int |
getSequenceNumber() |
UserGroupInformation |
getUser()
Get the username encoded in the token identifier
|
int |
hashCode() |
void |
readFields(DataInput in)
Deserialize the fields of this object from
in . |
void |
setIssueDate(long issueDate) |
void |
setMasterKeyId(int newId) |
void |
setMaxDate(long maxDate) |
void |
setSequenceNumber(int seqNum) |
String |
toString() |
void |
write(DataOutput out)
Serialize the fields of this object to
out . |
getBytes
public abstract Text getKind()
TokenIdentifier
getKind
在类中 TokenIdentifier
public UserGroupInformation getUser()
getUser
在类中 TokenIdentifier
public Text getRenewer()
public void setIssueDate(long issueDate)
public long getIssueDate()
public void setMaxDate(long maxDate)
public long getMaxDate()
public void setSequenceNumber(int seqNum)
public int getSequenceNumber()
public void setMasterKeyId(int newId)
public int getMasterKeyId()
public void readFields(DataInput in) throws IOException
Writable
in
.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
in
- DataInput
to deseriablize this object from.IOException
public void write(DataOutput out) throws IOException
Writable
out
.out
- DataOuput
to serialize this object into.IOException
Copyright © 2009 The Apache Software Foundation