Ticket #205 (closed enhancement: fixed)
Opened 9 years ago
Main objects and accompanying objects within a replicated graph
|Reported by:||Bernhard Haumacher (haui at haumacher dot de)||Owned by:|
When constructing a partially replicated graph as described in ticket:171, the application must be able to specify the distribution of objects in a convenient way. Since there are lots of heterogeneous objects within a replicated graph, one cannot specify the distribution for every object. There are objects, which the application is aware of, and objects that only accompany other objects. Those accompanying objects represent values or private properties of other objects. The application should be able to specify the distribution of the main objects, while the system should find out the proper distribution of accompanying objects automatically.
Solution: Distributable and non-distributable objects
Main objects, which should be distributed explicitly, could be declared to implement a marker interface uka.patch.Distributable. The application can now attach a distributor to a replicated object that decides about the placement of distributable objects. All non-distributable objects are managed by the runtime system automatically. A non-distributable object is made available to a node, if it is reachable from a distributable object that was distributed to that node.
implemented since 1.08b.