|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILocalTransactionManager
Interface for managing local transaction state (the client side of the
ITransactionService).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.bigdata.service.IServiceShutdown |
|---|
IServiceShutdown.Options |
| Method Summary | |
|---|---|
ITransactionService |
getTransactionService()
The server side of the transaction manager (possibly remote, in which case this may require the service to be discovered). |
ITx |
getTx(long tx)
Return the local state for a transaction. |
long |
nextTimestamp()
Return the next timestamp from the ITransactionService. |
void |
notifyCommit(long commitTime)
Notify the global transaction manager that a commit has been performed with the given timestamp (which it assigned) and that it should update its lastCommitTime iff the given commitTime is GT its current lastCommitTime. |
| Methods inherited from interface com.bigdata.service.IServiceShutdown |
|---|
isOpen, shutdown, shutdownNow |
| Method Detail |
|---|
ITransactionService getTransactionService()
ITx getTx(long tx)
tx - The transaction identifier.
null if the start time is not mapped to either an
active or prepared transaction.long nextTimestamp()
ITransactionService.
Note: This method is "robust" and will "retry"
ITimestampService.nextTimestamp() several times before giving
up.
ITransactionService.
RuntimeException - if the service can not be resolved or the timestamp can not
be obtained.ITimestampService.nextTimestamp()void notifyCommit(long commitTime)
commitTime - The commit time.ITransactionService.notifyCommit(long)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||