类 WritableDataSourceRegistry
java.lang.Object
com.alibaba.csp.sentinel.transport.util.WritableDataSourceRegistry
Writable data source registry for modifying rules via HTTP API.
- 作者:
- Eric Zhao
-
方法概要
修饰符和类型方法说明static com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>>static com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>>static com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>>static com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.system.SystemRule>>static voidregisterAuthorityDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>> dataSource) static voidregisterDegradeDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>> dataSource) static voidregisterFlowDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>> datasource) static voidregisterSystemDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.system.SystemRule>> dataSource)
-
方法详细资料
-
registerFlowDataSource
public static void registerFlowDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>> datasource) -
registerAuthorityDataSource
public static void registerAuthorityDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>> dataSource) -
registerDegradeDataSource
public static void registerDegradeDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>> dataSource) -
registerSystemDataSource
public static void registerSystemDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.system.SystemRule>> dataSource) -
getFlowDataSource
public static com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>> getFlowDataSource() -
getAuthorityDataSource
public static com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>> getAuthorityDataSource() -
getDegradeDataSource
public static com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>> getDegradeDataSource() -
getSystemSource
public static com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.system.SystemRule>> getSystemSource()
-