public class TokenSchema extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TokenSchema.Builder
Builder for an
TokenSchema that gets initialized with default values. |
Constructor and Description |
---|
TokenSchema()
Initializes the default TokenSchema
|
Modifier and Type | Method and Description |
---|---|
static TokenSchema.Builder |
builder()
Returns a new
TokenSchema.Builder initialized with default settings. |
String |
ownerColum()
Returns the name of the column containing the name of the machine that is currently the owner of this token.
|
String |
processorNameColumn()
Returns the name of the column containing the name of the processor to which the token belongs.
|
String |
segmentColumn()
Returns the name of the column containing the segment of the processor to which the token belongs.
|
String |
timestampColumn()
Returns the name of the column containing the timestamp of the token (the time this token was last saved).
|
String |
tokenColumn()
Returns the name of the column containing the serialized token.
|
String |
tokenTable()
Returns the name of the token entry table.
|
String |
tokenTypeColumn()
Returns the name of the column containing the name of the type to which the token should be deserialized.
|
public static TokenSchema.Builder builder()
TokenSchema.Builder
initialized with default settings.public String tokenTable()
public String processorNameColumn()
public String segmentColumn()
public String tokenColumn()
public String tokenTypeColumn()
public String timestampColumn()
public String ownerColum()
Copyright © 2010–2019. All rights reserved.