at:tutorial:appendix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:appendix [2009/01/29 21:24] – adding elisag | at:tutorial:appendix [2010/05/26 19:39] – *fixed tvcutsem | ||
---|---|---|---|
Line 27: | Line 27: | ||
This will execute all '' | This will execute all '' | ||
- | Like in JUnit and SUnit, it is possible to define two methods named '' | + | Like in JUnit and SUnit, it is possible to define two methods named '' |
==== Assertions ==== | ==== Assertions ==== | ||
Line 83: | Line 83: | ||
It is also possible to use '' | It is also possible to use '' | ||
- | < | + | < |
- | See [[distribution# | + | See the [[distribution# |
</ | </ | ||
Line 466: | Line 466: | ||
When the message sent to a multireference is annotated with @Due(t), the timeout is applied to the implicit multifuture, | When the message sent to a multireference is annotated with @Due(t), the timeout is applied to the implicit multifuture, | ||
+ | |||
+ | ==== Leased Object References ==== | ||
+ | |||
+ | The module ''/ | ||
+ | |||
+ | < | ||
+ | The implementation of leased object references actually consists of two files: ''/ | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | Variations of these constructs are also provided to allow developers to specify the renewal time interval in renew-on-call leased references and the name(s) of the method(s) which trigger expiration of a single-call leased reference. | ||
+ | |||
+ | The '' | ||
+ | |||
+ | < | ||
+ | renew: leasedRef for: interval; // renews a lease | ||
+ | revoke: leasedRef; // revokes a lease | ||
+ | leaseTimeLeft: | ||
+ | when: lease expired: {...}; // trigger a closure when the lease expires | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | |||
+ | Finally, the '' | ||
+ | |||
+ | |||
+ | |||
==== Dynamic Variables ==== | ==== Dynamic Variables ==== | ||
Line 622: | Line 653: | ||
==== Object Inspector ==== | ==== Object Inspector ==== | ||
- | The module ''/ | + | The module ''/ |
< | < | ||
- | import /.at.support.inspector; | + | import /.demo.inspector; |
inspect(o); | inspect(o); | ||
</ | </ |
at/tutorial/appendix.txt · Last modified: 2021/09/24 10:28 by elisag