Uses of Class
com.kingsrook.qqq.backend.core.processes.locks.ProcessLock
Packages that use ProcessLock
-
Uses of ProcessLock in com.kingsrook.qqq.backend.core.processes.locks
Methods in com.kingsrook.qqq.backend.core.processes.locks that return ProcessLockModifier and TypeMethodDescriptionstatic ProcessLocktry to create a process lock, of a given key invalid input: '&' type - but immediately fail if the lock already exists.static ProcessLockProcessLockUtils.create(String key, String typeName, String details, Duration sleepBetweenTries, Duration maxWait) try to create a process lock, of a given key invalid input: '&' type - and re-try if it failed.static ProcessLockUnableToObtainProcessLockException.getExistingLock()Getter for existingLockProcessLockOrException.processLock()Returns the value of theprocessLockrecord component.ProcessLock.withCheckInTimestamp(Instant checkInTimestamp) Fluent setter for checkInTimestampProcessLock.withCreateDate(Instant createDate) Fluent setter for createDateProcessLock.withDetails(String details) Fluent setter for detailsProcessLock.withExpiresAtTimestamp(Instant expiresAtTimestamp) Fluent setter for expiresAtTimestampFluent setter for idFluent setter for keyProcessLock.withModifyDate(Instant modifyDate) Fluent setter for modifyDateProcessLock.withProcessLockTypeId(Integer processLockTypeId) Fluent setter for processLockTypeIdProcessLock.withSessionUUID(String sessionUUID) Fluent setter for sessionUUIDProcessLock.withUserId(String userId) Fluent setter for userIdMethods in com.kingsrook.qqq.backend.core.processes.locks with parameters of type ProcessLockModifier and TypeMethodDescriptionstatic voidProcessLockUtils.checkIn(ProcessLock processLock) Do a check-in, updating the expires-timestamp based on the lock type's default.static voidProcessLockUtils.checkIn(ProcessLock processLock, Instant expiresAtTimestamp) Do a check-in, with a specific value for the expiresAtTimestamp - which can be set to null to make it null in the lock.static voidProcessLockUtils.release(ProcessLock processLock) voidUnableToObtainProcessLockException.setExistingLock(ProcessLock existingLock) Setter for existingLockUnableToObtainProcessLockException.withExistingLock(ProcessLock existingLock) Fluent setter for existingLockMethod parameters in com.kingsrook.qqq.backend.core.processes.locks with type arguments of type ProcessLockModifier and TypeMethodDescriptionstatic voidProcessLockUtils.releaseMany(List<ProcessLock> processLocks) Constructors in com.kingsrook.qqq.backend.core.processes.locks with parameters of type ProcessLockModifierConstructorDescriptionCheckInInput(ProcessLock processLock) ConstructorProcessLockOrException(ProcessLock processLock) ConstructorProcessLockOrException(ProcessLock processLock, UnableToObtainProcessLockException unableToObtainProcessLockException) Creates an instance of aProcessLockOrExceptionrecord class.