|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Stm<B extends TransactionFactoryBuilder,P extends ProgrammaticReferenceFactoryBuilder>
The main interface for software transactional memory. Updates/reads in the stm should only be done through the
Transaction. So see that for more details.
| Method Summary | |
|---|---|
P |
getProgrammaticReferenceFactoryBuilder()
Returns the programmatic reference factory this Stm exposes. |
B |
getTransactionFactoryBuilder()
Gets the TransactionFactoryBuilder that needs to be used to execute transactions on this Stm. |
long |
getVersion()
Returns the current clock version (this is logical time). |
| Method Detail |
|---|
long getVersion()
B getTransactionFactoryBuilder()
TransactionFactoryBuilder that needs to be used to execute transactions on this Stm. See the
TransactionFactoryBuilder for more info.
P getProgrammaticReferenceFactoryBuilder()
ProgrammaticReference for more information when to use it.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||