Class JacquardCatalogTargetProcessor


public class JacquardCatalogTargetProcessor extends CatalogTargetProcessorBase
Calculates the last time an update was made to the tabular data set that is the target and if it has changed since the last refresh (or this is the first refresh), the DataScope classification is updated with the latest update time. This will be detected as a change to the catalog target by any monitoring process.
  • Constructor Details

  • Method Details

    • start

      Start the processor, and with it the connector to the product's data set.

      The targets manager starts every new processor while it is still retrieving the catalog targets, before the connector's refresh has done anything else. Starting the data source opens a connection to the platform named in the product's connection, and a product whose connection named a platform that had moved failed here - and the failure, thrown, aborted the whole refresh: no other product was refreshed, and the harvest that repairs such connections was never reached, so the product could never recover.

      A failure to start the data source is therefore logged against this product and kept, not thrown. The refresh tries again each cycle and, while it keeps failing, skips this product and no other.
      Overrides:
      start in class CatalogTargetProcessorBase
      Throws:
      ConnectorCheckedException - a problem in the framework's own start-up
      UserNotAuthorizedException - the connector has been disconnected
    • refresh

      Check whether the data set has changed since the last refresh. If it has then update the asset's DataScope classification.
      Overrides:
      refresh in class CatalogTargetProcessorBase
      Throws:
      ConnectorCheckedException - a problem with the connector. It is unable to refresh the metadata.
      UserNotAuthorizedException - the connector was disconnected so stop refresh processing