What are the alternatives for getJobEntityManager, setRetries, getDeadLetterJobEntityManager in flowable 6.8?

I am trying to upgrade flowable from version 6.4.1 to 6.8. What are the alternative methods for getJobEntityManager, setRetries, getDeadLetterJobEntityManager in flowable 6.8?

import org.flowable.engine.impl.util.CommandContextUtil;

// getJobEntityManager
CommandContextUtil.getProcessEngineConfiguration().getJobServiceConfiguration().getJobEntityManager();

// getDeadLetterJobEntityManager
CommandContextUtil.getProcessEngineConfiguration().getJobServiceConfiguration().getDeadLetterJobEntityManager();

Regards,
Simon