Class LockProcessInstanceWork
java.lang.Object
org.bonitasoft.engine.work.BonitaWork
org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
org.bonitasoft.engine.execution.work.WrappingBonitaWork
org.bonitasoft.engine.execution.work.LockProcessInstanceWork
Transactional work that lock the process instance
This work try to lock a process instance, if it can't be locked before the end of the TIMEOUT, we reschedule the fill
stack of work on the work service.
- Author:
- Charles Souillard, Baptiste Mesta
-
Field Summary
FieldsFields inherited from class org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
SERVICE_ACCESSORFields inherited from class org.bonitasoft.engine.work.BonitaWork
tenantId -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bonitasoft.engine.execution.work.WrappingBonitaWork
getDescription, getRecoveryProcedure, getWrappedWork, handleFailure, toStringMethods inherited from class org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
getServiceAccessorMethods inherited from class org.bonitasoft.engine.work.BonitaWork
canBeRecoveredByTheRecoveryMechanism, equals, getParent, getRootWork, getUuid, hashCode, setParent
-
Field Details
-
processInstanceId
protected final long processInstanceId
-
-
Constructor Details
-
LockProcessInstanceWork
-
-
Method Details
-
work
Description copied from class:BonitaWorkExecution code of the work- Specified by:
workin classBonitaWork- Parameters:
context- a map of context that can be filled by a work to be given to a wrapped work- Throws:
Exception
-