接口 ClusterBuilderCustomizer

  • 函数接口:
    这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

    @FunctionalInterface
    public interface ClusterBuilderCustomizer
    Callback interface that can be implemented by beans wishing to customize the Cluster via a Cluster.Builder whilst retaining default auto-configuration.
    从以下版本开始:
    1.5.0
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      voidcustomize​(com.datastax.driver.core.Cluster.Builder clusterBuilder)
      Customize the Cluster.Builder.
    • 方法详细资料

      • customize

        void customize​(com.datastax.driver.core.Cluster.Builder clusterBuilder)
        Customize the Cluster.Builder.
        参数:
        clusterBuilder - the builder to customize