Class FetchAndLockRequestDto


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

      • maxTasks

        protected int maxTasks
      • usePriority

        protected boolean usePriority
      • asyncResponseTimeout

        protected java.lang.Long asyncResponseTimeout
    • Constructor Detail

      • FetchAndLockRequestDto

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

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

      • getMaxTasks

        public int getMaxTasks()
      • isUsePriority

        public boolean isUsePriority()
      • getAsyncResponseTimeout

        public java.lang.Long getAsyncResponseTimeout()