@Evolving public class TokenInformation extends java.lang.Object
Constructor | Description |
---|---|
TokenInformation(java.lang.String tokenId,
KafkaPrincipal owner,
java.util.Collection<KafkaPrincipal> renewers,
long issueTimestamp,
long maxTimestamp,
long expiryTimestamp) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
long |
expiryTimestamp() |
|
int |
hashCode() |
|
long |
issueTimestamp() |
|
long |
maxTimestamp() |
|
KafkaPrincipal |
owner() |
|
java.lang.String |
ownerAsString() |
|
boolean |
ownerOrRenewer(KafkaPrincipal principal) |
|
java.util.Collection<KafkaPrincipal> |
renewers() |
|
java.util.Collection<java.lang.String> |
renewersAsString() |
|
void |
setExpiryTimestamp(long expiryTimestamp) |
|
java.lang.String |
tokenId() |
|
java.lang.String |
toString() |
public TokenInformation(java.lang.String tokenId, KafkaPrincipal owner, java.util.Collection<KafkaPrincipal> renewers, long issueTimestamp, long maxTimestamp, long expiryTimestamp)
public KafkaPrincipal owner()
public java.lang.String ownerAsString()
public java.util.Collection<KafkaPrincipal> renewers()
public java.util.Collection<java.lang.String> renewersAsString()
public long issueTimestamp()
public long expiryTimestamp()
public void setExpiryTimestamp(long expiryTimestamp)
public java.lang.String tokenId()
public long maxTimestamp()
public boolean ownerOrRenewer(KafkaPrincipal principal)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object