|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.carol.cmi.ha.interceptor.HAContext
public class HAContext
This is the class stored in the Thread local variable of HACurrent class and represents the thread associated HA context
| Constructor Summary | |
|---|---|
HAContext()
Constructor |
|
| Method Summary | |
|---|---|
java.util.Stack<RequestId> |
getRequests()
Get the requests |
boolean |
isOnFailover()
|
void |
putNextReq(RequestId nextReq)
Put the request as the last request |
void |
setOnFailover(boolean onFailover)
|
void |
setRequests(java.util.Stack<RequestId> reqs)
Set the requests |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HAContext()
| Method Detail |
|---|
public void setRequests(java.util.Stack<RequestId> reqs)
reqs - the requestspublic java.util.Stack<RequestId> getRequests()
public void putNextReq(RequestId nextReq)
public boolean isOnFailover()
public void setOnFailover(boolean onFailover)
onFailover - The onFailover to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||