Class QueueTableSchema


  • public class QueueTableSchema
    extends java.lang.Object
    Scheme for column names of queue table in the database.
    Since:
    05.10.2019
    • Method Detail

      • getPayloadField

        @Nonnull
        public java.lang.String getPayloadField()
        Field with a column name for task payload. Column maps onto TaskRecord.getPayload().
        Returns:
        Column name.
      • getAttemptField

        @Nonnull
        public java.lang.String getAttemptField()
        Field with a column name for task execution attempts count. Column maps onto TaskRecord.getAttemptsCount().
        Returns:
        Column name.
      • getReenqueueAttemptField

        @Nonnull
        public java.lang.String getReenqueueAttemptField()
        Field with a column name for task execution re-enqueue attempts count. Column maps onto TaskRecord.getReenqueueAttemptsCount().
        Returns:
        Column name.
      • getTotalAttemptField

        @Nonnull
        public java.lang.String getTotalAttemptField()
        Field with a column name for task execution total attempts count. Column maps onto TaskRecord.getTotalAttemptsCount().
        Returns:
        Column name.
      • getCreatedAtField

        @Nonnull
        public java.lang.String getCreatedAtField()
        Field with a column name for task creation date and time. Column maps onto TaskRecord.getCreatedAt().
        Returns:
        Column name.
      • getNextProcessAtField

        @Nonnull
        public java.lang.String getNextProcessAtField()
        Field with a column name for task processing date and time (task will be processed after this date).
        Returns:
        Column name.
      • getQueueNameField

        @Nonnull
        public java.lang.String getQueueNameField()
        Field with a column name for the queue name.
        Returns:
        Column name.
      • getIdField

        @Nonnull
        public java.lang.String getIdField()
        Field with a column name for the id.
        Returns:
        Column name.
      • getExtFields

        @Nonnull
        public java.util.List<java.lang.String> getExtFields()
        Additional list of column names (TEXT type), which are mapping onto TaskRecord.getExtData().
        Returns:
        List of column names.