Class MockConnectorHistory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearHistory​(java.lang.String connectorName)
      Removes all history associated with the connector.
      void connectorCompleted​(java.lang.String connectorName, long finalDocCount)
      The connector has completed -- all documents have been fully processed.
      void connectorCompleting​(java.lang.String connectorName)
      The connector is completing -- all documents have been sent but have not finished being processed.
      void connectorPaused​(java.lang.String connectorName)
      A node has paused the connector.
      void connectorQueued​(java.lang.String connectorName, java.util.UUID clientId, java.lang.String workflow, java.util.List<java.lang.String> extraRunInfo, boolean external)
      The connector has been submitted for execution on an AIE node.
      void connectorReset​(java.lang.String connectorName)
      Indicates that the incremental state of the connector has been reset.
      void connectorResumed​(java.lang.String connectorName)
      A node has resumed a paused connector.
      void connectorStarted​(java.lang.String connectorName, long timestamp)
      A node has started executing the connector.
      ConnectorExecutionRecord getCurrentExecutionRecord​(java.lang.String connectorName)
      Note, the connector does not have to be defined.
      java.lang.Iterable<ConnectorExecutionRecord> getHistory​(java.lang.String connectorName)
      ConnectorExecutionRecord getLatestHistory​(java.lang.String connectorName)
      void reset()  
      void setClientId​(java.lang.String connectorName, java.util.UUID clientId)
      Associates the provided client id with the current run of the connector.
      void updateExtraRunInfo​(java.lang.String connectorName, java.util.List<java.lang.String> extraRunInfo)
      Updates the extraRunInfo for connectorName.
      void updateSentCount​(java.lang.String connectorName, long docCount)
      Updates the number of documents sent by connectorName.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait