protected void init(
Message message, String messageType, ManifestSummary manifestSummary) {
message.put(
BackgroundTaskConstants.BACKGROUND_TASK_ID,
BackgroundTaskThreadLocal.getBackgroundTaskId());
message.put("messageType", messageType);
Map<String, LongWrapper> modelAdditionCounters =
manifestSummary.getModelAdditionCounters();
message.put(
"modelAdditionCounters", new HashMap<>(modelAdditionCounters));
Map<String, LongWrapper> modelDeletionCounters =
manifestSummary.getModelDeletionCounters();
message.put(
"modelDeletionCounters", new HashMap<>(modelDeletionCounters));
}