Class ClaimHeartbeat

java.lang.Object
com.axelor.workflow.schedule.ClaimHeartbeat
All Implemented Interfaces:
AutoCloseable

public final class ClaimHeartbeat extends Object implements AutoCloseable
Keeps a claim alive while its work runs, so the lease measures whether the holder is alive rather than how long the work takes. The caller supplies the beat; returning false means the claim is gone and stops it.
  • Method Details