|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AlphaConstants
This interface is used to define default constants used by the master, router and worker in the SWC2 system. All constants representing a time related value are specified in milliseconds.
Field Summary | |
---|---|
static int |
AC_CONNECT_TO_MASTER_INTERVAL
how long the router waits between connection to the master |
static int |
AC_CONTROL_PORT
TCP port on which the master listens for commands |
static int |
AC_DEFAULT_WORK_REQUEST_COUNT
how many workunits a router requests by default |
static int |
AC_ROUTER_LIST_REQUEST_INTERVAL
how often a router updates the router list |
static int |
AC_ROUTERS_PORT
TCP port on which the master listens for routers |
static int |
AC_TASKS_CLEANUP_INTERVAL
How often the master checks for completed tasks |
static int |
AC_WORK_REQ_DELAY
how long a router waits between request for more work units, after the master reported no work |
static int |
AC_WORK_UNITS_THRESHOLD
minimum threshold of WorkUnits, before router asks for more |
static int |
AC_WORKER_WORK_REQ_DELAY
how long a worker waits between request for more work units, after router reported no work |
static int |
AC_WORKERS_PORT
TCP port on which the router listens for workers connections |
Field Detail |
---|
static final int AC_CONTROL_PORT
static final int AC_ROUTERS_PORT
static final int AC_WORKERS_PORT
static final int AC_TASKS_CLEANUP_INTERVAL
static final int AC_CONNECT_TO_MASTER_INTERVAL
static final int AC_WORK_UNITS_THRESHOLD
static final int AC_WORK_REQ_DELAY
static final int AC_ROUTER_LIST_REQUEST_INTERVAL
static final int AC_DEFAULT_WORK_REQUEST_COUNT
static final int AC_WORKER_WORK_REQ_DELAY
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |