Class FetchAndLockRequestDto
- java.lang.Object
-
- org.camunda.bpm.client.impl.RequestDto
-
- org.camunda.bpm.client.topic.impl.dto.FetchAndLockRequestDto
-
public class FetchAndLockRequestDto extends RequestDto
- Author:
- Tassilo Weidner
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Long
asyncResponseTimeout
protected int
maxTasks
protected java.util.List<TopicRequestDto>
topics
protected boolean
usePriority
-
Fields inherited from class org.camunda.bpm.client.impl.RequestDto
workerId
-
-
Constructor Summary
Constructors Constructor Description FetchAndLockRequestDto(java.lang.String workerId, int maxTasks, java.lang.Long asyncResponseTimeout, java.util.List<TopicRequestDto> topics)
FetchAndLockRequestDto(java.lang.String workerId, int maxTasks, java.lang.Long asyncResponseTimeout, java.util.List<TopicRequestDto> topics, boolean usePriority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getAsyncResponseTimeout()
int
getMaxTasks()
java.util.List<TopicRequestDto>
getTopics()
boolean
isUsePriority()
-
Methods inherited from class org.camunda.bpm.client.impl.RequestDto
getWorkerId
-
-
-
-
Field Detail
-
maxTasks
protected int maxTasks
-
usePriority
protected boolean usePriority
-
asyncResponseTimeout
protected java.lang.Long asyncResponseTimeout
-
topics
protected java.util.List<TopicRequestDto> topics
-
-
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()
-
getTopics
public java.util.List<TopicRequestDto> getTopics()
-
getAsyncResponseTimeout
public java.lang.Long getAsyncResponseTimeout()
-
-