public class HouseKeepingManagerImpl extends Object implements HouseKeepingManager
| Constructor and Description |
|---|
HouseKeepingManagerImpl()
Basic constructor, run by Tapestry through injection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
confirmMessage(String actionId)
Confirm and remove a message/action
|
Map<String,Map<String,String>> |
getQueueStats()
Get the latest statistics on message queues.
|
List<UserAction> |
getUserMessages()
Get the messages to display for the user
|
void |
registryDidShutdown()
Tapestry notification that server is shutting down
|
void |
requestRestart()
Request a low priority restart from HouseKeeping.
|
void |
requestUrgentRestart()
Request a high priority restart from HouseKeeping.
|
void |
sendMessage(String message)
Send a message to HouseKeeping.
|
public HouseKeepingManagerImpl()
public void registryDidShutdown()
registryDidShutdown in interface org.apache.tapestry5.ioc.services.RegistryShutdownListenerpublic List<UserAction> getUserMessages()
getUserMessages in interface HouseKeepingManagerpublic void confirmMessage(String actionId) throws Exception
confirmMessage in interface HouseKeepingManageractionId - The ID of the action to removeExceptionpublic void sendMessage(String message) throws com.googlecode.fascinator.common.messaging.MessagingException
sendMessage in interface HouseKeepingManagercom.googlecode.fascinator.common.messaging.MessagingExceptionpublic void requestRestart()
throws com.googlecode.fascinator.common.messaging.MessagingException
requestRestart in interface HouseKeepingManagercom.googlecode.fascinator.common.messaging.MessagingExceptionpublic void requestUrgentRestart()
throws com.googlecode.fascinator.common.messaging.MessagingException
requestUrgentRestart in interface HouseKeepingManagercom.googlecode.fascinator.common.messaging.MessagingExceptionpublic Map<String,Map<String,String>> getQueueStats()
getQueueStats in interface HouseKeepingManagerCopyright © 2009-2016. All Rights Reserved.