Interface PersistentProcessingEngineMXBean

    • Method Detail

      • restart

        void restart​(java.lang.String workflowInstanceId)
              throws java.lang.Exception
        Trigger restart a workflow instance that is in the error state. If workflow id is unknown or the workflow is not in broken state, nothing happens.
        Parameters:
        workflowInstanceId - workflow instance id as string
        Throws:
        java.lang.Exception - When some database operations fail, i.e. connection lost, transaction problems, ..
      • restartFiltered

        void restartFiltered​(WorkflowInstanceFilter filter)
                      throws java.lang.Exception
        Trigger restart all workflow instances that are in error state.
        Parameters:
        filter - the WorkflowInstanceFilter
        Throws:
        java.lang.Exception - When some database operations fail, i.e. connection lost, transaction problems, ..
      • restartAll

        void restartAll()
                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deleteBroken

        void deleteBroken​(java.lang.String workflowInstanceId)
                   throws java.lang.Exception
        Entirely deletes the provided worklow instance if it is in the error state. If it currently holds a lock, the lock is released.
        Parameters:
        workflowInstanceId - workflow instance id as string
        Throws:
        java.lang.Exception - when the delete operation fails
      • deleteWaiting

        void deleteWaiting​(java.lang.String workflowInstanceId)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deleteFiltered

        void deleteFiltered​(WorkflowInstanceFilter filter)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getEngineClusterId

        java.lang.String getEngineClusterId()
        Gets EngineClusterId to make it possible grouping engines into engine cluster. Engines in one engine cluster should use same Database, in other case grouping will show incorrect data in copper monitoring
        Returns:
        the engineClusterId