类 WritableDataSourceRegistry

java.lang.Object
com.alibaba.csp.sentinel.transport.util.WritableDataSourceRegistry

public final class WritableDataSourceRegistry extends Object
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 void
    registerAuthorityDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.authority.AuthorityRule>> dataSource)
     
    static void
    registerDegradeDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.degrade.DegradeRule>> dataSource)
     
    static void
    registerFlowDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.block.flow.FlowRule>> datasource)
     
    static void
    registerSystemDataSource(com.alibaba.csp.sentinel.datasource.WritableDataSource<List<com.alibaba.csp.sentinel.slots.system.SystemRule>> dataSource)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 方法详细资料

    • 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()