类 UpdateGatewayRuleCommandHandler
java.lang.Object
com.alibaba.csp.sentinel.adapter.gateway.common.command.UpdateGatewayRuleCommandHandler
- 所有已实现的接口:
com.alibaba.csp.sentinel.command.CommandHandler<String>
@CommandMapping(name="gateway/updateRules",
desc="Update gateway rules")
public class UpdateGatewayRuleCommandHandler
extends Object
implements com.alibaba.csp.sentinel.command.CommandHandler<String>
- 从以下版本开始:
- 1.6.0
- 作者:
- Eric Zhao
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static com.alibaba.csp.sentinel.datasource.WritableDataSource<Set<GatewayFlowRule>>com.alibaba.csp.sentinel.command.CommandResponse<String>handle(com.alibaba.csp.sentinel.command.CommandRequest request) static voidsetWritableDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<Set<GatewayFlowRule>> gatewayFlowWds)
-
构造器详细资料
-
UpdateGatewayRuleCommandHandler
public UpdateGatewayRuleCommandHandler()
-
-
方法详细资料
-
handle
public com.alibaba.csp.sentinel.command.CommandResponse<String> handle(com.alibaba.csp.sentinel.command.CommandRequest request) - 指定者:
handle在接口中com.alibaba.csp.sentinel.command.CommandHandler<String>
-
getWritableDataSource
public static com.alibaba.csp.sentinel.datasource.WritableDataSource<Set<GatewayFlowRule>> getWritableDataSource() -
setWritableDataSource
public static void setWritableDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<Set<GatewayFlowRule>> gatewayFlowWds)
-