Package org.openapitools.client.model
Class LockExternalTaskDtoAllOf
- java.lang.Object
-
- org.openapitools.client.model.LockExternalTaskDtoAllOf
-
public class LockExternalTaskDtoAllOf extends Object
LockExternalTaskDtoAllOf
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_LOCK_DURATION
-
Constructor Summary
Constructors Constructor Description LockExternalTaskDtoAllOf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)LonggetLockDuration()The duration to lock the external task for in milliseconds.inthashCode()LockExternalTaskDtoAllOflockDuration(Long lockDuration)voidsetLockDuration(Long lockDuration)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_LOCK_DURATION
public static final String SERIALIZED_NAME_LOCK_DURATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
lockDuration
public LockExternalTaskDtoAllOf lockDuration(Long lockDuration)
-
getLockDuration
public Long getLockDuration()
The duration to lock the external task for in milliseconds. **Note:** Attempting to lock an already locked external task with the same `workerId` will succeed and a new lock duration will be set, starting from the current moment.- Returns:
- lockDuration
-
setLockDuration
public void setLockDuration(Long lockDuration)
-
-