Method | Description | |
---|---|---|
Abort ( ) : void |
Kill this transaction.
|
|
GetEx ( ) : |
Get the transaction running on this thread (throw exception if no transaction).
|
|
GetReadPoint ( ) : void |
Get a new read point value.
|
|
ReleaseIfEnsured ( Ref r ) : void | ||
Stop ( int status ) : void |
Stop this transaction.
|
|
TryWriteLock ( Ref r ) : void |
Method | Description | |
---|---|---|
Barge ( Info refinfo ) : bool |
Try to barge a conflicting transaction.
|
|
BargeTimeElapsed ( ) : bool |
Determine if sufficient clock time has elapsed to barge another transaction.
|
|
BlockAndBail ( Info refinfo ) : object | ||
ContainsNestedRetryEx ( |
Determine if the exception wraps a Needed because sometimes our retry exceptions get wrapped. You do not want to know how long it took to track down this problem. |
|
DoCommute ( Ref r, IFn fn, ISeq args ) : object |
Post a commute on a ref in this transaction.
|
|
DoEnsure ( Ref r ) : void |
Touch a ref. (Lock it.)
|
|
DoGet ( Ref r ) : object |
Get the value of a ref most recently set in this transaction (or prior to entering).
|
|
DoSet ( Ref r, object val ) : object |
Set the value of a ref inside the transaction.
|
|
Enqueue ( |
Add an agent action sent during the transaction to a queue.
|
|
GetCommitPoint ( ) : long |
Get a commit point value.
|
|
GetRunning ( ) : |
Get the transaction running on this thread (or null if no transaction).
|
|
Lock ( Ref r ) : object |
Lock a ref.
|
|
Run ( IFn fn ) : object |
Start a transaction and invoke a function.
|
|
isRunning ( ) : bool | ||
runInTransaction ( IFn fn ) : object |