Class RoutersClusterConfigRoutes

    • Constructor Detail

      • RoutersClusterConfigRoutes

        public RoutersClusterConfigRoutes​(boolean sslEnabled,
                                          java.util.Optional<DynamicAccessController> accessController)
    • Method Detail

      • enableThrottling

        public spark.Route enableThrottling​(Admin admin)
        Enable throttling by updating the cluster level for all routers.
      • enableMaxCapacityProtection

        public spark.Route enableMaxCapacityProtection​(Admin admin)
        Enable max capacity protection by updating the cluster level for all routers.
      • enableQuotaRebalanced

        public spark.Route enableQuotaRebalanced​(Admin admin)
        Enable quota rebalanced by updating the cluster level for all routers.
      • getRoutersClusterConfig

        public spark.Route getRoutersClusterConfig​(Admin admin)
        No ACL check; any user is allowed to check router cluster configs.