|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.ha.interceptor.HACurrentContext
This is the class stored in the Thread local variable of HACurrent class and represents the thread associated HA context
Constructor Summary | |
HACurrentContext()
Constructor |
Method Summary | |
org.objectweb.carol.cmi.ha.ViewIdWrapper |
getClientViewIdWrapper()
Get the client view id wrapper |
java.util.Stack |
getRequests()
Get the requests |
org.objectweb.carol.cmi.ha.ViewIdWrapper |
getServerViewIdWrapper()
Get the server view id wrapper |
boolean |
isOnFailover()
|
void |
putNextReq(org.objectweb.carol.cmi.ha.RequestId nextReq)
Put the request as the las request |
void |
setClientViewIdWrapper(org.objectweb.carol.cmi.ha.ViewIdWrapper clientViewIdWrapper)
Set the client view id wrapper |
void |
setOnFailover(boolean onFailover)
|
void |
setRequests(java.util.Stack reqs)
Set the requests |
void |
setServerViewIdWrapper(org.objectweb.carol.cmi.ha.ViewIdWrapper serverViewIdWrapper)
Set the server view id wrapper |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HACurrentContext()
Method Detail |
public void setRequests(java.util.Stack reqs)
reqs
- the requestspublic java.util.Stack getRequests()
public void putNextReq(org.objectweb.carol.cmi.ha.RequestId nextReq)
public boolean isOnFailover()
public void setOnFailover(boolean onFailover)
onFailover
- The onFailover to set.public org.objectweb.carol.cmi.ha.ViewIdWrapper getClientViewIdWrapper()
public void setClientViewIdWrapper(org.objectweb.carol.cmi.ha.ViewIdWrapper clientViewIdWrapper)
clientViewIdWrapper
- view id wrapperpublic org.objectweb.carol.cmi.ha.ViewIdWrapper getServerViewIdWrapper()
public void setServerViewIdWrapper(org.objectweb.carol.cmi.ha.ViewIdWrapper serverViewIdWrapper)
serverViewIdWrapper
- view id wrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |