code: public static void checkRingbufferConfig(RingbufferConfig ringbufferConfig,
                                               SplitBrainMergePolicyProvider mergePolicyProvider) {
          checkMergePolicy(ringbufferConfig, mergePolicyProvider, ringbufferConfig.getMergePolicyConfig().getPolicy());
      }
docs: Validates the given {@link RingbufferConfig}.
  
  @param ringbufferConfig    the {@link RingbufferConfig} to check
  @param mergePolicyProvider the {@link SplitBrainMergePolicyProvider} to resolve merge policy classes