Interface RecoveryStrategyFactory

All Known Implementing Classes:
DefaultRecoveryStrategyFactory

public interface RecoveryStrategyFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     
  • Method Details

    • get

      Returns:
      an instance of RecoveryStrategy that will be used to recover from failures to load a native library. The recover method of the returned object might be called multiple times until false is returned or until a successfull retry of the load is performed. All calls are guaranteed to hapen sequentially, within the context of a single library load. This contract allows the returned strategy object to try more invasive and expensive recovery mechanisms as long as cheaper options are not effective.