Interface FailoverLogic<V>

Type Parameters:
V - return type of logic

public interface FailoverLogic<V>
Logic to run. If there is a problem or timeout, try a different connection
  • Method Summary

    Modifier and Type
    Method
    Description
    logic(FailoverLogicBean failoverLogicBean)
    Logic to run.
  • Method Details

    • logic

      V logic(FailoverLogicBean failoverLogicBean)
      Logic to run. If there is a problem or timeout, try a different connection Note, if there are threadlocal things to set, make sure to set them in the logic
      Parameters:
      failoverLogicBean - if running in new thread, and connection name
      Returns:
      whatever it returns