Package com.sun.xml.ws.commons.ha
Class HaContext
java.lang.Object
com.sun.xml.ws.commons.ha.HaContext
Runtime HA context implemented using thread local state data
- Author:
- Marek Potociar (marek.potociar at sun.com)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInternal state data of the HA context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic voidclear()static HaInfostatic HaContext.Statestatic booleanstatic HaContext.Statestatic HaContext.StateinitFrom(HaContext.State newState) static voidudpateReplicaInstance(String replicaInstance) static voidupdateHaInfo(HaInfo newValue)
-
Constructor Details
-
HaContext
public HaContext()
-
-
Method Details
-
initFrom
-
initFrom
-
currentState
-
clear
public static void clear() -
currentHaInfo
-
udpateReplicaInstance
-
updateHaInfo
-
failoverDetected
public static boolean failoverDetected() -
asString
-