Class FetchAndLockRequestDto


  • public class FetchAndLockRequestDto
    extends RequestDto
    Author:
    Tassilo Weidner
    • Field Detail

      • maxTasks

        protected int maxTasks
      • usePriority

        protected boolean usePriority
      • asyncResponseTimeout

        protected Long asyncResponseTimeout
    • Constructor Detail

      • FetchAndLockRequestDto

        public FetchAndLockRequestDto​(String workerId,
                                      int maxTasks,
                                      Long asyncResponseTimeout,
                                      List<TopicRequestDto> topics)
      • FetchAndLockRequestDto

        public FetchAndLockRequestDto​(String workerId,
                                      int maxTasks,
                                      Long asyncResponseTimeout,
                                      List<TopicRequestDto> topics,
                                      boolean usePriority)
    • Method Detail

      • getMaxTasks

        public int getMaxTasks()
      • isUsePriority

        public boolean isUsePriority()
      • getAsyncResponseTimeout

        public Long getAsyncResponseTimeout()