|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The HubMBean interface represents a c-hub.
Method Summary | |
CollaboratorMBean[] |
getActiveCollaborators()
Gets CollaboratorMBeans for all of the collaborators on this c-hub. |
GlobalConversationMBean[] |
getActiveConversations()
Gets GlobalConversationMBeans for all of the active conversations on this c-hub. |
CSpaceMBean[] |
getActiveCSpaces()
Gets CSpaceMBeans for all of the active c-spaces on this c-hub. |
java.util.Date |
getActiveSince()
Gets the start time of this c-hub. |
CSpaceMBean[] |
getCSpaces()
Gets CSpaceMBeans for all of the c-spaces on this c-hub. |
int |
getNumConversationsDefined()
Gets the number of conversations defined on this c-hub. |
int |
getNumMessagesReceived()
Gets the number of messages received on this c-hub. |
int |
getNumMessagesSent()
Gets the number of messages sent on this c-hub. |
java.util.Date |
getTimeLastMessageReceived()
Gets the time of the last message received on this c-hub. |
java.util.Date |
getTimeLastMessageSent()
Gets the time when the last message was sent on this c-hub. |
boolean |
getTracking()
Checks the status of dynamic message tracking. |
void |
shutDown(java.lang.Integer mode)
Shuts down the current c-hub. |
void |
startMessageTracking()
Starts dynamic message tracking. |
void |
startupCSpace(java.lang.String cspaceName)
Starts up a c-space that has been shut down. |
void |
stopMessageTracking()
Stops dynamic message tracking. |
Method Detail |
public java.util.Date getActiveSince()
public CSpaceMBean[] getActiveCSpaces()
public GlobalConversationMBean[] getActiveConversations()
public CollaboratorMBean[] getActiveCollaborators()
public CSpaceMBean[] getCSpaces()
public int getNumConversationsDefined()
public int getNumMessagesReceived()
public java.util.Date getTimeLastMessageReceived()
public int getNumMessagesSent()
public java.util.Date getTimeLastMessageSent()
public void shutDown(java.lang.Integer mode) throws ManagementException
mode
- Mode for the shutdown. One of the following values:
ShutdownMode.KILL - Terminates all active conversations. Forces trading partners to leave c-spaces. Rejects all new messages. Messages in the trading partner's queues are discarded.
ShutdownMode.NOW (reserved for future use)
ShutdownMode.NORMAL (reserved for future use)
ShutdownMode.QUIESCE (reserved for future use)
public void startMessageTracking()
public void stopMessageTracking()
public boolean getTracking()
public void startupCSpace(java.lang.String cspaceName) throws ManagementException
cspaceName
- The name of the CSpace to start.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |