|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |