类 EmptyDataSource
java.lang.Object
com.alibaba.csp.sentinel.datasource.EmptyDataSource
- 所有已实现的接口:
ReadableDataSource<Object,Object>
A
This class is used when we want to use default settings instead of configs from the
ReadableDataSource based on nothing. getProperty() will always return the same cached
SentinelProperty that doing nothing.
This class is used when we want to use default settings instead of configs from the
ReadableDataSource.- 作者:
- leyou
-
字段详细资料
-
EMPTY_DATASOURCE
-
-
方法详细资料
-
loadConfig
从接口复制的说明:ReadableDataSourceLoad data data source as the target type.- 指定者:
loadConfig在接口中ReadableDataSource<Object,Object> - 返回:
- the target data.
- 抛出:
Exception- IO or other error occurs
-
readSource
从接口复制的说明:ReadableDataSourceRead original data from the data source.- 指定者:
readSource在接口中ReadableDataSource<Object,Object> - 返回:
- the original data.
- 抛出:
Exception- IO or other error occurs
-
getProperty
从接口复制的说明:ReadableDataSourceGetSentinelPropertyof the data source.- 指定者:
getProperty在接口中ReadableDataSource<Object,Object> - 返回:
- the property.
-
close
从接口复制的说明:ReadableDataSourceClose the data source.- 指定者:
close在接口中ReadableDataSource<Object,Object> - 抛出:
Exception- IO or other error occurs
-