docs: public ScheduledTaskDescriptor merge(
              ScheduledExecutorMergeTypes mergingEntry,
              SplitBrainMergePolicy<ScheduledTaskDescriptor, ScheduledExecutorMergeTypes> mergePolicy) {
          SerializationService serializationService = nodeEngine.getSerializationService();
          serializationService.getManagedContext().initialize(mergingEntry);
          serializationService.getManagedContext().initialize(mergePolicy);
  
          // try to find an existing task with the same definition
          ScheduledTaskDescriptor mergingTask = mergingEntry.getValue();
          ScheduledTaskDescriptor existingTask = null;
          for (ScheduledTaskDescriptor task : tasks.values()) {
              if (mergingTask.equals(task)) {
                  existingTask = task;
                  break;
              }
          }
          if (existingTask == null) {
              ScheduledTaskDescriptor newTask = mergePolicy.merge(mergingEntry, null);
              if (newTask != null) {
                  enqueueSuspended(newTask, false);
                  return newTask;
              }
          } else {
              ScheduledExecutorMergeTypes existingEntry = createMergingEntry(serializationService, existingTask);
              ScheduledTaskDescriptor newTask = mergePolicy.merge(mergingEntry, existingEntry);
              // we are using == instead of equals() for the task comparison,
              // since the descriptor may have the same fields for merging and existing entry,
              // but we still want to be able to choose which one is merged (e.g. PassThroughMergePolicy)
              if (newTask != null && newTask != existingTask) {
                  // cancel the existing task, before replacing it
                  existingTask.cancel(true);
                  enqueueSuspended(newTask, true);
                  return newTask;
              }
          }
          // the merging task was already suspended on the original node, so we don't have to cancel it here
          return null;
      }