|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j_spaces.core.client.TransactionInfo
public class TransactionInfo
Transaction information.
Nested Class Summary | |
---|---|
static class |
TransactionInfo.Types
The Transactions types. |
Constructor Summary | |
---|---|
TransactionInfo(int type,
int status,
Transaction trasaction,
long lease,
long startTime,
int numberOfLockedObjects)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
long |
getLease()
Returns the lease of the transaction. |
int |
getNumberOfLockedObjects()
|
long |
getStartTime()
|
int |
getStatus()
Returns the transaction status. |
Transaction |
getTrasaction()
Returns the transaction that own the info. |
Object |
getTxnId()
|
int |
getType()
Returns the type. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionInfo(int type, int status, Transaction trasaction, long lease, long startTime, int numberOfLockedObjects)
type
- from TransactionInfo.Types
(LOCAL, JINI, XA or ALL)status
- can be one of the status defined in TransactionConstants
trasaction
- the transaction that own this infolease
- the transaction leasestartTime
- when the Transaction startednumberOfLockedObjects
- Method Detail |
---|
public int getStatus()
public Transaction getTrasaction()
public int getType()
TransactionInfo.Types
public long getLease()
public int getNumberOfLockedObjects()
public long getStartTime()
public Object getTxnId()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |