类 AutoRefreshDataSource<S,T>
java.lang.Object
com.alibaba.csp.sentinel.datasource.AbstractDataSource<S,T>
com.alibaba.csp.sentinel.datasource.AutoRefreshDataSource<S,T>
- 类型参数:
S- source data typeT- target data type
- 所有已实现的接口:
ReadableDataSource<S,T>
- 直接已知子类:
FileRefreshableDataSource
A
ReadableDataSource automatically fetches the backend data.- 作者:
- Carpenter Lee
-
字段概要
字段从类继承的字段 com.alibaba.csp.sentinel.datasource.AbstractDataSource
parser, property -
构造器概要
构造器构造器说明AutoRefreshDataSource(Converter<S, T> configParser) AutoRefreshDataSource(Converter<S, T> configParser, long recommendRefreshMs) -
方法概要
从类继承的方法 com.alibaba.csp.sentinel.datasource.AbstractDataSource
getProperty, loadConfig, loadConfig从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.alibaba.csp.sentinel.datasource.ReadableDataSource
readSource
-
字段详细资料
-
recommendRefreshMs
protected long recommendRefreshMs
-
-
构造器详细资料
-
AutoRefreshDataSource
-
AutoRefreshDataSource
-
-
方法详细资料
-
close
从接口复制的说明:ReadableDataSourceClose the data source.- 抛出:
Exception- IO or other error occurs
-
isModified
protected boolean isModified()
-