public final class WritableDataSourceRegistry extends Object
| Modifier and Type | Method and Description |
|---|---|
static WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>> |
getAuthorityDataSource() |
static WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>> |
getDegradeDataSource() |
static WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>> |
getFlowDataSource() |
static WritableDataSource<List<com.alibaba.csp.sentinel.slots.system.SystemRule>> |
getSystemSource() |
static void |
registerAuthorityDataSource(WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>> dataSource) |
static void |
registerDegradeDataSource(WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>> dataSource) |
static void |
registerFlowDataSource(WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>> datasource) |
static void |
registerSystemDataSource(WritableDataSource<List<com.alibaba.csp.sentinel.slots.system.SystemRule>> dataSource) |
public static void registerFlowDataSource(WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>> datasource)
public static void registerAuthorityDataSource(WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>> dataSource)
public static void registerDegradeDataSource(WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>> dataSource)
public static void registerSystemDataSource(WritableDataSource<List<com.alibaba.csp.sentinel.slots.system.SystemRule>> dataSource)
public static WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>> getFlowDataSource()
public static WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>> getAuthorityDataSource()
public static WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>> getDegradeDataSource()
public static WritableDataSource<List<com.alibaba.csp.sentinel.slots.system.SystemRule>> getSystemSource()
Copyright © 2020 Alibaba Group. All rights reserved.