code: public static void checkScheduledExecutorConfig(ScheduledExecutorConfig scheduledExecutorConfig,
                                                      SplitBrainMergePolicyProvider mergePolicyProvider) {
          String mergePolicyClassName = scheduledExecutorConfig.getMergePolicyConfig().getPolicy();
          checkMergePolicy(scheduledExecutorConfig, mergePolicyProvider, mergePolicyClassName);
      }
docs: Validates the given {@link ScheduledExecutorConfig}.
  
  @param scheduledExecutorConfig the {@link ScheduledExecutorConfig} to check
  @param mergePolicyProvider     the {@link SplitBrainMergePolicyProvider} to resolve merge policy classes