Package com.sun.xml.ws.api.ha
Class HaInfo
- java.lang.Object
-
- com.sun.xml.ws.api.ha.HaInfo
-
public class HaInfo extends Object
This class has HA informationThis would help a loadbalancer to put the request(in case of a fail-over) on a replica instance that has all the related data. Even if there is no loadbalancer, a backing store could locate the information by directly going to the correct replica instance. This would also help any part of the runtime to know about failover case(and in-turn may invalidate local caches).
To achieve this functionality, it carries two pieces of information:
- key - Related
BackingStorekeys can use this info for their HashableKey impl. First store creates this object, and subsequent related stores use the same key. - replicaInstance - where the related info is replicated
This can be accessed from
PacketusingPacket.HA_INFOproperty by the runtime. This object is created typically- When a store happens for the first time
- A subsequent inbound transport creates from cookies
- A fail-over request stores the data to a different replica
- Since:
- JAX-WS RI 2.2.2
- Author:
- Jitendra Kotamraju
- key - Related
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()StringgetReplicaInstance()booleanisFailOver()
-