|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.carol.cmi.ha.RequestId
public class RequestId
This class is the key to identify the client requests in HA tables. It is constructed in the JSessionRemote from the information received through the HA interceptors. RequestId = ObjectId + Request_Number
| Constructor Summary | |
|---|---|
RequestId(org.ow2.carol.cmi.ha.SessionId objectId,
int requestNo)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Test if two RequestIds are equals |
org.ow2.carol.cmi.ha.SessionId |
getObjectId()
Get the objectId |
int |
getRequestNo()
Get the request number |
int |
hashCode()
Compute hashcode |
void |
setObjectId(org.ow2.carol.cmi.ha.SessionId objectId)
Set the objectId |
void |
setRequestNo(int requestNo)
Set the request number |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RequestId(org.ow2.carol.cmi.ha.SessionId objectId,
int requestNo)
objectId - requestNo - | Method Detail |
|---|
public org.ow2.carol.cmi.ha.SessionId getObjectId()
public void setObjectId(org.ow2.carol.cmi.ha.SessionId objectId)
objectId - public int getRequestNo()
public void setRequestNo(int requestNo)
requestNo - public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - object to compare with this
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||