|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface for Concurrency Control service.
Method Summary | |
void |
abort(java.lang.Object ctx)
This method allows to release the resources allocated in a given context. |
void |
begin(java.lang.Object ctx)
This method records the start of an execution context. |
void |
finalize(java.lang.Object ctx)
This method marks the end of accesses made by the execution context. |
java.lang.Object |
readIntention(java.lang.Object ctx,
java.lang.Object resourceId,
java.lang.Object hints)
This method records an access intention to a data object in read mode. |
boolean |
validate(java.lang.Object ctx)
This method requests the validation os accesses made by the context. |
java.lang.Object |
writeIntention(java.lang.Object ctx,
java.lang.Object resourceId,
java.lang.Object hints)
This method records an access intention to a data object in write mode. |
Method Detail |
public void begin(java.lang.Object ctx)
ctx
- is the contextpublic boolean validate(java.lang.Object ctx)
public void finalize(java.lang.Object ctx)
public void abort(java.lang.Object ctx)
public java.lang.Object readIntention(java.lang.Object ctx, java.lang.Object resourceId, java.lang.Object hints) throws ConcurrencyException
resourceId
- is the resource identifierctx
- is an identifier of the execution context. It can be a
transaction handle.hints
- is an object parameter permiting to some implementation to
do some action at "readIntention time".
ConcurrencyException
public java.lang.Object writeIntention(java.lang.Object ctx, java.lang.Object resourceId, java.lang.Object hints) throws ConcurrencyException
resourceId
- is the resource identifierctx
- is an identifier of the execution context. It can be a
transaction handle.hints
- is an object parameter permiting to some implementation to
do some action at "readIntention time".
ConcurrencyException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |