|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerManagerLocal
| Field Summary | |
|---|---|
static java.lang.String |
MAINTENANCE_MODE_ON_STARTUP_PROPERTY
The system property (defined in the startup properties file) that indicates if we need to put the server into MM upon startup. |
| Method Summary | |
|---|---|
void |
beat()
Updates server mtime to register active heart beat |
int |
create(Server server)
Persist the fully defined |
void |
establishCurrentServerMode()
Checks current server mode against previous serverMode and takes any state change actions necessary. |
java.util.List<Agent> |
getAgents()
At any time an active agent is communicating (either registered with, or connected to) a server in the cloud. |
java.util.List<java.lang.Integer> |
getAndClearAgentsWithStatus()
An Agent can have various status settings Agent. |
boolean |
getAndClearServerStatus()
A Server can have various status settings Server. |
java.lang.String |
getIdentity()
Determine the identity (i.e. |
Server |
getServer()
Returns an object representing this server as it is known within the registered cloud of servers. |
void |
handleHeartbeatTimer(javax.ejb.Timer timer)
|
void |
scheduleServerHeartbeat()
|
| Field Detail |
|---|
static final java.lang.String MAINTENANCE_MODE_ON_STARTUP_PROPERTY
| Method Detail |
|---|
void scheduleServerHeartbeat()
void handleHeartbeatTimer(javax.ejb.Timer timer)
int create(Server server)
server -
java.lang.String getIdentity()
java.util.List<Agent> getAgents()
java.util.List<java.lang.Integer> getAndClearAgentsWithStatus()
Agent. The Status, when set, indicates
that this agent has some necessary work pending, typically processed by a periodic job.
boolean getAndClearServerStatus()
Server. The Status, when set, indicates
that this server has some necessary work pending, typically processed by a periodic job.
Server getServer()
throws ServerNotFoundException
ServerNotFoundException#getIdentity()}void establishCurrentServerMode()
void beat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||