java.lang.Object
org.axonframework.messaging.eventhandling.processing.streaming.token.store.jdbc.TokenSchema

public class TokenSchema extends Object
Schema of a token entry to be stored using Jdbc.
Since:
3.0
Author:
Rene de Waele
  • Constructor Details

    • TokenSchema

      public TokenSchema()
      Initializes the default TokenSchema
  • Method Details

    • builder

      public static TokenSchema.Builder builder()
      Returns a new TokenSchema.Builder initialized with default settings.
      Returns:
      a new builder for the event schema
    • tokenTable

      public String tokenTable()
      Returns the name of the token entry table.
      Returns:
      the name of the token entry table
    • processorNameColumn

      public String 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

      public String 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

      public String 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

      public String tokenColumn()
      Returns the name of the column containing the serialized token.
      Returns:
      the name of the column containing the serialized token
    • tokenTypeColumn

      public String 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

      public String 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

      public String 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