Class RoutersClusterConfigRoutes
- java.lang.Object
-
- com.linkedin.venice.controller.server.AbstractRoute
-
- com.linkedin.venice.controller.server.RoutersClusterConfigRoutes
-
public class RoutersClusterConfigRoutes extends AbstractRoute
-
-
Constructor Summary
Constructors Constructor Description RoutersClusterConfigRoutes(boolean sslEnabled, java.util.Optional<DynamicAccessController> accessController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description spark.Route
enableMaxCapacityProtection(Admin admin)
Enable max capacity protection by updating the cluster level for all routers.spark.Route
enableQuotaRebalanced(Admin admin)
Enable quota rebalanced by updating the cluster level for all routers.spark.Route
enableThrottling(Admin admin)
Enable throttling by updating the cluster level for all routers.spark.Route
getRoutersClusterConfig(Admin admin)
No ACL check; any user is allowed to check router cluster configs.-
Methods inherited from class com.linkedin.venice.controller.server.AbstractRoute
getCertificate, getPrincipalId, hasAccessToStore, hasReadAccessToTopic, hasWriteAccessToTopic, isAclEnabled, isAllowListUser, isSslEnabled
-
-
-
-
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.
-
-