com.sun.xml.ws.commons.ha
Class HaContext
java.lang.Object
com.sun.xml.ws.commons.ha.HaContext
public class HaContext
- extends Object
Runtime HA context implemented using thread local state data
- Author:
- Marek Potociar (marek.potociar at sun.com)
|
Nested Class Summary |
static class |
HaContext.State
Internal state data of the HA context |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HaContext
public HaContext()
initFrom
public static HaContext.State initFrom(Packet packet)
initFrom
public static HaContext.State initFrom(HaContext.State newState)
currentState
public static HaContext.State currentState()
clear
public static void clear()
currentHaInfo
public static HaInfo currentHaInfo()
udpateReplicaInstance
public static void udpateReplicaInstance(String replicaInstance)
updateHaInfo
public static void updateHaInfo(HaInfo newValue)
failoverDetected
public static boolean failoverDetected()
asString
public static String asString(HaInfo haInfo)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.