|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinfoservice.dynamic.DynamicCascadeConfigurator
public class DynamicCascadeConfigurator
This class is used to build new dynamic cascades. The selection which mix
will be in which cascade is done via the selected
IDynamicCascadeBuildingStrategy. Existing cascades for the
mixes which were assigned new cascades will be removed from the database
| Constructor Summary | |
|---|---|
DynamicCascadeConfigurator()
|
|
| Method Summary | |
|---|---|
void |
buildCascades(long a_seed)
This method gets called to build new cascades. |
private MixCascade |
getCurrentCascade(java.lang.String a_mixId)
Returns the current cascade for the mix with the given ID. |
private boolean |
isUsable(MixInfo a_mixInfo)
Checks to see if the given MixInfo may be used in a
dynamic cascade A MixInfo is "usable" if a) it is a
dynamic mix b) it is not assigned to a semi-dynamic cascade |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicCascadeConfigurator()
| Method Detail |
|---|
public void buildCascades(long a_seed)
a_seed - The seed for the PRNGprivate MixCascade getCurrentCascade(java.lang.String a_mixId)
a_mixId - The ID of the mix in question
MixCascade for the mix or
nullprivate boolean isUsable(MixInfo a_mixInfo)
MixInfo may be used in a
dynamic cascade A MixInfo is "usable" if a) it is a
dynamic mix b) it is not assigned to a semi-dynamic cascade
a_mixInfo - The MixInfo to be tested
true if the mix may be used, false
otherwise
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||