public interface ExternalTaskQueryBuilder
| Modifier and Type | Method and Description |
|---|---|
List<LockedExternalTask> |
execute()
Performs the fetching.
|
ExternalTaskQueryTopicBuilder |
topic(String topicName,
long lockDuration)
Specifies that tasks of a topic should be fetched and locked for
a certain amount of time
|
ExternalTaskQueryTopicBuilder topic(String topicName, long lockDuration)
topicName - the name of the topiclockDuration - the duration in milliseconds for which tasks should be locked;
begins at the time of fetchingList<LockedExternalTask> execute()
Copyright © 2018. All rights reserved.