at:tutorial:distribution
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:distribution [2009/01/29 15:44] – elisag | at:tutorial:distribution [2009/01/29 16:14] – elisag | ||
---|---|---|---|
Line 227: | Line 227: | ||
import / | import / | ||
</ | </ | ||
- | < | + | < |
leasedrefs module exports support primitives to manipulate time intervals (i.e. '' | leasedrefs module exports support primitives to manipulate time intervals (i.e. '' | ||
</ | </ | ||
Line 245: | Line 245: | ||
The primitive takes as parameter an object which is removed from the export table of the actor where the code is executed. When the object is removed from the export table, all remote far reference to the object become invalidated and the object no longer belongs to the set of root objects and as such, it can be eventually reclaimed by Java's local garbage collector once it is no longer locally referenced. Although the actual reclamation of an unexported object may be triggered at a later point in time, any attempt to access via a remote far reference results in an ObjectOffline exception notifying the client object that the object was taken offline and thus, its remote far references is invalid. | The primitive takes as parameter an object which is removed from the export table of the actor where the code is executed. When the object is removed from the export table, all remote far reference to the object become invalidated and the object no longer belongs to the set of root objects and as such, it can be eventually reclaimed by Java's local garbage collector once it is no longer locally referenced. Although the actual reclamation of an unexported object may be triggered at a later point in time, any attempt to access via a remote far reference results in an ObjectOffline exception notifying the client object that the object was taken offline and thus, its remote far references is invalid. | ||
- | < | + | < |
- | [[distribution# | + | [[distribution# |
</ | </ | ||
Line 274: | Line 274: | ||
As previously mentioned, the '' | As previously mentioned, the '' | ||
- | This semantics | + | These semantics |
+ | |||
+ | However, distributed unit tests cannot |
at/tutorial/distribution.txt · Last modified: 2009/01/30 16:13 by tvcutsem