Class TaskContextService
java.lang.Object
com.mulesoft.modules.agent.broker.internal.state.TaskContextService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOrCreate(String taskId, String contextId, String configRefName, org.mule.runtime.api.store.ObjectStore<TaskContext> taskContextStore) voidremove(String taskId, String contextId, String configRefName, org.mule.runtime.api.store.ObjectStore<TaskContext> taskContextStore) voidupsertTaskContext(TaskContext taskContext, String configRef, org.mule.runtime.api.store.ObjectStore<TaskContext> taskContextStore)
-
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.ObjectNotFoundExceptionorg.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
-