Modify

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:
Priority: normal Milestone: 2.0
Component: uka.karo Version:
Severity: normal Keywords:
Cc:

Description

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.

Test

jp.test.TestPartialReplication

See also

ticket:206

implemented since 1.08b.

Attachments

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.