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
-
Method Details
-
logic
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
-