edu.internet2.middleware.grouperClient.failover
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
- Author:
- mchyzer
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