Class TokenSchema
java.lang.Object
org.axonframework.messaging.eventhandling.processing.streaming.token.store.jdbc.TokenSchema
Schema of a token entry to be stored using Jdbc.
- Since:
- 3.0
- Author:
- Rene de Waele
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for anTokenSchemathat gets initialized with default values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenSchema.Builderbuilder()Returns a newTokenSchema.Builderinitialized with default settings.Returns the name of the column containing the segment mask of the processor to which the token belongs.Returns the name of the column containing the name of the machine that is currently the owner of this token.Returns the name of the column containing the name of the processor to which the token belongs.Returns the name of the column containing the segment of the processor to which the token belongs.Returns the name of the column containing the timestamp of the token (the time this token was last saved).Returns the name of the column containing the serialized token.Returns the name of the token entry table.Returns the name of the column containing the name of the type to which the token should be deserialized.
-
Constructor Details
-
TokenSchema
public TokenSchema()Initializes the default TokenSchema
-
-
Method Details
-
builder
Returns a newTokenSchema.Builderinitialized with default settings.- Returns:
- a new builder for the event schema
-
tokenTable
Returns the name of the token entry table.- Returns:
- the name of the token entry table
-
processorNameColumn
Returns the name of the column containing the name of the processor to which the token belongs.- Returns:
- the name of the column containing the name of the processor owning the token
-
segmentColumn
Returns the name of the column containing the segment of the processor to which the token belongs.- Returns:
- the name of the column containing the segment of the processor owning the token
-
maskColumn
Returns the name of the column containing the segment mask of the processor to which the token belongs.- Returns:
- the name of the column containing the segment mask of the processor owning the token
-
tokenColumn
Returns the name of the column containing the serialized token.- Returns:
- the name of the column containing the serialized token
-
tokenTypeColumn
Returns the name of the column containing the name of the type to which the token should be deserialized.- Returns:
- the name of the column containing the token type
-
timestampColumn
Returns the name of the column containing the timestamp of the token (the time this token was last saved).- Returns:
- the name of the column containing the token timestamp
-
ownerColumn
Returns the name of the column containing the name of the machine that is currently the owner of this token.- Returns:
- the name of the column containing the name of the owner node
-