|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.generic.commonapi.factory.Topology
This class allow to the programmer specify all the topologies of the networks. Actually only exists three topologies:
Id
Field Summary | |
static java.lang.String |
CIRCULAR
This topology specify that the Id of nodes are distributed uniformly in the ring. |
static java.lang.String |
RANDOM
This topology specify that the Id of nodes are distributed randomly. |
static java.lang.String |
SERIALIZED
This topology specify that the entire ring are restored from serialized state file. |
Constructor Summary | |
Topology()
|
Method Summary | |
static boolean |
isValid(java.lang.String topology)
Identify if the topology specified is valid or not. |
static boolean |
isValidForNew(java.lang.String topology)
Inform when the specified topology is valid to build new instances with sentence new. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String RANDOM
public static final java.lang.String CIRCULAR
public static final java.lang.String SERIALIZED
Constructor Detail |
public Topology()
Method Detail |
public static boolean isValid(java.lang.String topology)
topology
- Topology to test if is valid.
public static boolean isValidForNew(java.lang.String topology)
topology
- Topology to test.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |