Package fr.gouv.vitam.processing.common.async

# Interface AsyncResourceCallback

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AsyncResourceCallback
Interface for a callback method used by AsyncResourcesMonitor class to notify origin workflow when async resource monitoring is finished (async resources are ready, need to be recreated or workflow has been interrupted).

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `notifyWorkflow()`
  Notify the origin workflow distribution thread when async resource monitoring is finished (async resources are ready, need to be recreated or workflow has been interrupted).

- ## Method Details

  - ### notifyWorkflow

    void notifyWorkflow()
    Notify the origin workflow distribution thread when async resource monitoring is finished (async resources are ready, need to be recreated or workflow has been interrupted). Callback should NOT throw any exception, nor block calling thread.