Class FailoverLogicBean
java.lang.Object
edu.internet2.middleware.grouperClient.failover.FailoverLogicBean
bean in callback for failover logic
-
Constructor Summary
ConstructorDescriptionfailover logic beanFailoverLogicBean
(boolean runningInNewThread1, String connectionName1, boolean isLastConnection) -
Method Summary
Modifier and TypeMethodDescriptionthe connection name which is runningboolean
true if this is the last connection in the list of connections to tryboolean
if it is running in new threadvoid
setConnectionName
(String connectionName1) the connection name which is runningvoid
setLastConnection
(boolean lastConnection1) true if this is the last connection in the list of connections to tryvoid
setRunningInNewThread
(boolean runningInNewThread1) if it is running in new thread
-
Constructor Details
-
FailoverLogicBean
public FailoverLogicBean()failover logic bean -
FailoverLogicBean
public FailoverLogicBean(boolean runningInNewThread1, String connectionName1, boolean isLastConnection) - Parameters:
runningInNewThread1
-connectionName1
-isLastConnection
-
-
-
Method Details
-
isLastConnection
public boolean isLastConnection()true if this is the last connection in the list of connections to try- Returns:
- true if this is the last connection
-
setLastConnection
public void setLastConnection(boolean lastConnection1) true if this is the last connection in the list of connections to try- Parameters:
lastConnection1
-
-
isRunningInNewThread
public boolean isRunningInNewThread()if it is running in new thread- Returns:
- if it is running in new thread
-
setRunningInNewThread
public void setRunningInNewThread(boolean runningInNewThread1) if it is running in new thread- Parameters:
runningInNewThread1
-
-
getConnectionName
the connection name which is running- Returns:
- the connection name which is running
-
setConnectionName
the connection name which is running- Parameters:
connectionName1
-
-