public void run() {
CommandContext commandContext = Context.getCommandContext();
try {
if (job.isExclusive()) {
commandExecutor.execute(new LockExclusiveJobCmd(job));
}
} catch (ActivitiOptimisticLockingException optimisticLockingException) {
if (log.isDebugEnabled()) {
log.debug("Optimistic locking exception during exclusive job acquisition. If you have multiple job executors running against the same database, " +