Operations

DLC operations are Spring Beans that extend from the IDlcOperation interface.

IDlcOperation

  • process(IDlcRequest request) - processes the incoming DLC Request.
  • getName() - returns the key for the operation, referenced by the operation parameter in the DLC Request.

Default Operations

The DLC comes with some operations out of the box. These operations can be triggered by submitting a request to the DataLoadControllerService.

  • LOAD - Loads data into the datastore.
  • UNLOAD - Unloads data from the datastore.
  • START_LISTEN - Start a listening for files, triggering a load operation when a file is detected.
  • LISTEN_STATUS - Gets the status of a listener
  • STOP_LISTEN - Stop listening for files.