Package de.caluga.morphium.messaging
Class StatusInfoListener
- java.lang.Object
-
- de.caluga.morphium.messaging.StatusInfoListener
-
- All Implemented Interfaces:
MessageListener<Msg>
public class StatusInfoListener extends Object implements MessageListener<Msg>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatusInfoListener.StatusInfoLevel
-
Field Summary
Fields Modifier and Type Field Description static StringglobalListenersKeystatic StringmessageListenersbyNameKeystatic StringmessagingThreadpoolstatsKeystatic StringmorphiumCachestatsKeystatic StringmorphiumConfigKey
-
Constructor Summary
Constructors Constructor Description StatusInfoListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmarkAsProcessedBeforeExec()MsgonMessage(Messaging msg, Msg m)process message, send answer if null is returned, no answer is sent
-
-
-
Field Detail
-
messagingThreadpoolstatsKey
public static final String messagingThreadpoolstatsKey
- See Also:
- Constant Field Values
-
messageListenersbyNameKey
public static final String messageListenersbyNameKey
- See Also:
- Constant Field Values
-
globalListenersKey
public static final String globalListenersKey
- See Also:
- Constant Field Values
-
morphiumCachestatsKey
public static final String morphiumCachestatsKey
- See Also:
- Constant Field Values
-
morphiumConfigKey
public static final String morphiumConfigKey
- See Also:
- Constant Field Values
-
-
Method Detail
-
onMessage
public Msg onMessage(Messaging msg, Msg m) throws InterruptedException
Description copied from interface:MessageListenerprocess message, send answer if null is returned, no answer is sent- Specified by:
onMessagein interfaceMessageListener<Msg>- Throws:
InterruptedException
-
markAsProcessedBeforeExec
public boolean markAsProcessedBeforeExec()
- Specified by:
markAsProcessedBeforeExecin interfaceMessageListener<Msg>
-
-