Mirror "clear queue" operations to the clustered cache.

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2020-09-01 10:55:07 -04:00
1 parent 15936c29c1
commit 6aa4acd3db
1 file changed
+2
@@ -73,11 +73,13 @@ public class MessagesManager {
public void clear(String destination, UUID destinationUuid) {
this.messagesCache.clear(destination, destinationUuid);
this.clusterMessagesCache.clear(destination, destinationUuid);
this.messages.clear(destination);
}
public void clear(String destination, UUID destinationUuid, long deviceId) {
this.messagesCache.clear(destination, destinationUuid, deviceId);
this.clusterMessagesCache.clear(destination, destinationUuid, deviceId);
this.messages.clear(destination, deviceId);
}