Added logging statement to WriteProxy#flushCache()
This commit is contained in:
parent
effe41f458
commit
e1f248c2b8
@ -62,10 +62,11 @@ public class WriteProxy {
|
|||||||
/**
|
/**
|
||||||
* Sends cached {@link Message}s and {@link MessageStatusChangeEvent}s to the
|
* Sends cached {@link Message}s and {@link MessageStatusChangeEvent}s to the
|
||||||
* server.
|
* server.
|
||||||
*
|
*
|
||||||
* @since Envoy v0.3-alpha
|
* @since Envoy v0.3-alpha
|
||||||
*/
|
*/
|
||||||
public void flushCache() {
|
public void flushCache() {
|
||||||
|
logger.info("Sending cached messages and message status change events...");
|
||||||
|
|
||||||
// Send messages
|
// Send messages
|
||||||
localDb.getMessageCache().relay();
|
localDb.getMessageCache().relay();
|
||||||
|
Reference in New Issue
Block a user