All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ikasan.spec.scheduled.reset.ContextResetService Maven / Gradle / Ivy

package org.ikasan.spec.scheduled.reset;

public interface ContextResetService {

    /**
     * @deprecated Since a context can have multiple instances, we may need to use resetContextInstance
     * Rest a context instance.
     *
     * @param contextName the name of the context.
     * @param holdCommandExecutionJob flag to determine if commands job should be on hold.
     */
    void resetContext(String contextName, boolean holdCommandExecutionJob);

    /**
     * Rest a context instance.
     *
     * @param contextInstanceId the name of the context.
     * @param holdCommandExecutionJob flag to determine if commands job should be on hold.
     */
    void resetContextInstance(String contextInstanceId, boolean holdCommandExecutionJob);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy