def METHOD_NAME(self, task, func, store=None):
    # This is an adaptation of vdsm.storage.taskManager
    # scheduleJob() method.
    task.setTag("tag")
    if store is not None:
        task.setPersistence(store, cleanPolicy=TaskCleanType.manual)
    task.setManager(self)
    task.setRecoveryPolicy("auto")
    task.addJob(Job("job", func))