public class Token
extends com.netflix.hollow.api.objects.HollowObject
| Constructor and Description | 
|---|
Token(TokenDelegate delegate,
     int ordinal)  | 
| Modifier and Type | Method and Description | 
|---|---|
TokensAPI | 
api()  | 
protected TokenDelegate | 
delegate()  | 
long | 
getExpiresTimestamp()  | 
java.lang.Long | 
getExpiresTimestampBoxed()  | 
java.lang.String | 
getKey()  | 
java.lang.String | 
getOrigin()  | 
HString | 
getSubjectDomain()  | 
HString | 
getSubjectUid()  | 
boolean | 
isKeyEqual(java.lang.String testValue)  | 
boolean | 
isOriginEqual(java.lang.String testValue)  | 
TokenTypeAPI | 
typeApi()  | 
static com.netflix.hollow.api.consumer.index.UniqueKeyIndex<Token,java.lang.String> | 
uniqueIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer)
Creates a unique key index for  
Token that has a primary key. | 
public Token(TokenDelegate delegate, int ordinal)
public java.lang.String getKey()
public boolean isKeyEqual(java.lang.String testValue)
public HString getSubjectUid()
public HString getSubjectDomain()
public java.lang.String getOrigin()
public boolean isOriginEqual(java.lang.String testValue)
public long getExpiresTimestamp()
public java.lang.Long getExpiresTimestampBoxed()
public TokensAPI api()
public TokenTypeAPI typeApi()
protected TokenDelegate delegate()
public static com.netflix.hollow.api.consumer.index.UniqueKeyIndex<Token,java.lang.String> uniqueIndex(com.netflix.hollow.api.consumer.HollowConsumer consumer)
Token that has a primary key.
 The primary key is represented by the class String.
 
 By default the unique key index will not track updates to the consumer and thus
 any changes will not be reflected in matched results.  To track updates the index must be
 registered
 with the consumer
consumer - the consumerCopyright © 2023. All Rights Reserved.