类 AbstractDataSource<S,T>
java.lang.Object
com.alibaba.csp.sentinel.datasource.AbstractDataSource<S,T>
- 类型参数:
S- source data typeT- target data type
- 所有已实现的接口:
ReadableDataSource<S,T>
The abstract readable data source provides basic functionality for loading and parsing config.
- 作者:
- Carpenter Lee, Eric Zhao
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明com.alibaba.csp.sentinel.property.SentinelProperty<T> GetSentinelPropertyof the data source.Load data data source as the target type.loadConfig(S conf) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.alibaba.csp.sentinel.datasource.ReadableDataSource
close, readSource
-
字段详细资料
-
parser
-
property
-
-
构造器详细资料
-
AbstractDataSource
-
-
方法详细资料
-
loadConfig
从接口复制的说明:ReadableDataSourceLoad data data source as the target type.- 指定者:
loadConfig在接口中ReadableDataSource<S,T> - 返回:
- the target data.
- 抛出:
Exception- IO or other error occurs
-
loadConfig
- 抛出:
Exception
-
getProperty
从接口复制的说明:ReadableDataSourceGetSentinelPropertyof the data source.- 指定者:
getProperty在接口中ReadableDataSource<S,T> - 返回:
- the property.
-