|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.symphony.SymphonyProperties
This class includes the initialization and the values for all configuration properties of the Chord overlay.
Field Summary | |
static java.lang.String |
DEFAULT_F
Symphony property: Default key for maximum number of members in successor list. |
static java.lang.String |
DEFAULT_K
Symphony property: Default key for maximum number of long distance connections. |
static java.lang.String |
DEFAULT_MAX_JOIN_RETRIES
Symphony property: Default key for maximum number of retries to enter to the network by the same bootstrap. |
static java.lang.String |
DEFAULT_MAX_RETRIES_NEW_LONG_DISTANCE
Symphony property: Default key for maximum number of retries to obtain a connection to the same long distance node. |
int |
F
Maximum number of members in successor list. |
int |
K
Maximum number of long distance connections. |
int |
maxJoinRetries
Maximum number of retries to enter to the network by the same bootstrap. |
int |
maxRetriesNewLongDistance
Maximum number of retries to obtain a connection to the same long distance node. |
Constructor Summary | |
SymphonyProperties()
|
Method Summary | |
void |
init(java.lang.String propertiesFile)
Initialize all configuration properties of the Symphony overlay. |
java.lang.String |
typeToString(int type)
Returns a String representation of the constant specific values of type and mode of the RouteMessage. |
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 DEFAULT_K
public static final java.lang.String DEFAULT_F
public static final java.lang.String DEFAULT_MAX_RETRIES_NEW_LONG_DISTANCE
public static final java.lang.String DEFAULT_MAX_JOIN_RETRIES
public int K
public int F
public int maxRetriesNewLongDistance
public int maxJoinRetries
Constructor Detail |
public SymphonyProperties()
Method Detail |
public void init(java.lang.String propertiesFile) throws InitializationException
init
in interface OverlayProperties
propertiesFile
-
InitializationException
OverlayProperties.init(java.lang.String)
public java.lang.String typeToString(int type)
typeToString
in interface OverlayProperties
type
- Value to get its String representation.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |