|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.planx.xmlstore.routing.Configuration
public class Configuration
A set of Kademlia configuration parameters. Default values are supplied and can be changed by the application as necessary.
| Field Summary | |
|---|---|
int |
B
Log base exponent. |
int |
CONCURRENCY
Maximum number of concurrent messages in transit. |
int |
K
Bucket size. |
long |
OPERATION_TIMEOUT
Maximum number of milliseconds for performing an operation. |
int |
RCSIZE
Size of replacement cache. |
long |
RESPONSE_TIMEOUT
If no reply received from a node in this period (in milliseconds) consider the node unresponsive. |
long |
RESTORE_INTERVAL
Interval in milliseconds between execution of RestoreOperations. |
int |
STALE
Number of times a node can be marked as stale before it is actually removed. |
| Constructor Summary | |
|---|---|
Configuration()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public long RESTORE_INTERVAL
public long RESPONSE_TIMEOUT
public long OPERATION_TIMEOUT
public int CONCURRENCY
public int B
public int K
public int RCSIZE
public int STALE
| Constructor Detail |
|---|
public Configuration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||