Class TaskContextService

java.lang.Object
com.mulesoft.modules.agent.broker.internal.state.TaskContextService

public class TaskContextService extends Object
  • Constructor Details

    • TaskContextService

      public TaskContextService()
  • Method Details

    • upsertTaskContext

      public void upsertTaskContext(TaskContext taskContext, String configRef, org.mule.runtime.api.store.ObjectStore<TaskContext> taskContextStore) throws org.mule.runtime.api.store.ObjectStoreException
      Throws:
      org.mule.runtime.api.store.ObjectStoreException
    • getOrCreate

      public TaskContext getOrCreate(String taskId, String contextId, String configRefName, org.mule.runtime.api.store.ObjectStore<TaskContext> taskContextStore) throws org.mule.runtime.api.exception.ObjectNotFoundException, org.mule.runtime.api.store.ObjectStoreException
      Throws:
      org.mule.runtime.api.exception.ObjectNotFoundException
      org.mule.runtime.api.store.ObjectStoreException
    • remove

      public void remove(String taskId, String contextId, String configRefName, org.mule.runtime.api.store.ObjectStore<TaskContext> taskContextStore) throws org.mule.runtime.api.store.ObjectStoreException
      Throws:
      org.mule.runtime.api.store.ObjectStoreException