ClassDistributor
default class distribution strategy; this implementation places
new class objects on subsequent machines (no priorities are
considered)
ObjectDistributor
implements the default object distribution strategy; it selects
machines using this strategy:
- if a machine's priority is NEVER, it is never chosen,
- if a machine was the last machine, that was declared to be the
prefered machine (ALWAYS), it is selected always
- if a new machine's priority is set to ALWAYS, the former prefered
machine's priority is reset to DEFAULT
- if there is no prefered machine, then a random machine (with DEFAULT
priority) is chosen
set the strategy for choosing host machines for new remote objects (only
for the local machine!)
if t == DEFAULT, then use internal strategy
else select always machine t