Class ExtendLockOnExternalTaskDto


  • public class ExtendLockOnExternalTaskDto
    extends Object
    ExtendLockOnExternalTaskDto
    • Constructor Detail

      • ExtendLockOnExternalTaskDto

        public ExtendLockOnExternalTaskDto()
    • Method Detail

      • getNewDuration

        public Long getNewDuration()
        An amount of time (in milliseconds). This is the new lock duration starting from the current moment.
        Returns:
        newDuration
      • setNewDuration

        public void setNewDuration​(Long newDuration)
      • getWorkerId

        public String getWorkerId()
        **Mandatory.** The ID of the worker who is performing the operation on the external task. If the task is already locked, must match the id of the worker who has most recently locked the task.
        Returns:
        workerId
      • setWorkerId

        public void setWorkerId​(String workerId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object