public class HouseKeepingManagerImpl extends java.lang.Object implements HouseKeepingManager
| Constructor and Description |
|---|
HouseKeepingManagerImpl()
Basic constructor, run by Tapestry through injection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
confirmMessage(java.lang.String actionId)
Confirm and remove a message/action
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getQueueStats()
Get the latest statistics on message queues.
|
java.util.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(java.lang.String message)
Send a message to HouseKeeping.
|
public HouseKeepingManagerImpl()
public void registryDidShutdown()
registryDidShutdown in interface org.apache.tapestry5.ioc.services.RegistryShutdownListenerpublic java.util.List<UserAction> getUserMessages()
getUserMessages in interface HouseKeepingManagerpublic void confirmMessage(java.lang.String actionId)
throws java.lang.Exception
confirmMessage in interface HouseKeepingManageractionId - The ID of the action to removejava.lang.Exceptionpublic void sendMessage(java.lang.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 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getQueueStats()
getQueueStats in interface HouseKeepingManagerCopyright © 2009-2019. All Rights Reserved.