Package org.imixs.archive.service.util
Class MessageService
- java.lang.Object
-
- org.imixs.archive.service.util.MessageService
-
public class MessageService extends Object
This service provides a message log which can be used to monitor the timer status. With the method logMessage() a message can be added to a given topic. The Method getMessages() returns all messages for a topic.The MAX_COUNT specifies the maximum count of messages stored in one message log.
- Version:
- 2.0
- Author:
- rsoika
-
-
Constructor Summary
Constructors Constructor Description MessageService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getMessages(String topic)voidlogMessage(String topic, String message)logs a new message into the message logStringuserFriendlyBytes(long bytes)Computes the file size into a user friendly format
-