|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Transaction
Interfaz para las transacciones del motor.
Method Summary | |
---|---|
void |
abort()
Aborta la transaccion. |
void |
addOperation(Operation o)
|
void |
commit()
Commitea la transaccion |
UserContext |
getUserContext()
|
boolean |
isAborted()
Indica si la transaccion fue abortada. |
boolean |
isCommited()
Indica si la transaccion fue commiteada. |
boolean |
isFinished()
tells whether this transactions has nothing more to do. |
boolean |
isRunning()
tells whether this transactions is doing something or has things to do. |
java.util.List<Operation> |
operationsDone()
returns the sequence of operations that have been already done. |
java.util.Collection<Shareable> |
resourcesTakenForRead()
returns the resources that are actually in use by the transaction in read mode. |
java.util.Collection<Shareable> |
resourcesTakenForWrite()
returns the resources that are actually in use by the transaction in write mode. |
java.util.Collection<Shareable> |
resourcesWaitingForRead()
returns the resources that are actually waited by the transaction in read mode. |
java.util.Collection<Shareable> |
resourcesWaitingForWrite()
returns the resources that are actually waited by the transaction in write mode. |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Method Detail |
---|
void abort()
boolean isAborted()
void commit()
boolean isCommited()
boolean isFinished()
boolean isRunning()
java.util.Collection<Shareable> resourcesTakenForRead()
java.util.Collection<Shareable> resourcesWaitingForRead()
java.util.Collection<Shareable> resourcesTakenForWrite()
java.util.Collection<Shareable> resourcesWaitingForWrite()
java.util.List<Operation> operationsDone()
void addOperation(Operation o)
UserContext getUserContext()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |