|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.env.service.AbstractResinSubSystem
com.caucho.cloud.heartbeat.HeartbeatService
public class HeartbeatService
Service for handling the cluster heartbeat messages
| Field Summary | |
|---|---|
static int |
START_PRIORITY
|
| Fields inherited from interface com.caucho.env.service.ResinSubSystem |
|---|
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER |
| Method Summary | |
|---|---|
static HeartbeatService |
createAndAddService(CloudServer cloudServer)
|
static HeartbeatService |
getCurrent()
|
int |
getStartPriority()
Returns the start priority of the service, used to determine which services to start first. |
void |
start()
Starts the heartbeat actor with a server start message to the pod |
void |
stop()
Stops the heartbeat actor with a server start message to the pod |
| Methods inherited from class com.caucho.env.service.AbstractResinSubSystem |
|---|
destroy, getStopPriority, preCreate, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int START_PRIORITY
| Method Detail |
|---|
public static HeartbeatService createAndAddService(CloudServer cloudServer)
public static HeartbeatService getCurrent()
public int getStartPriority()
ResinSubSystem
getStartPriority in interface ResinSubSystemgetStartPriority in class AbstractResinSubSystempublic void start()
start in interface ResinSubSystemstart in class AbstractResinSubSystempublic void stop()
stop in interface ResinSubSystemstop in class AbstractResinSubSystem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||