S - source data typeT - target data typepublic abstract class AutoRefreshDataSource<S,T> extends AbstractDataSource<S,T>
ReadableDataSource automatically fetches the backend data.| Modifier and Type | Field and Description |
|---|---|
protected long |
recommendRefreshMs |
parser, property| Constructor and Description |
|---|
AutoRefreshDataSource(Converter<S,T> configParser) |
AutoRefreshDataSource(Converter<S,T> configParser,
long recommendRefreshMs) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the data source.
|
protected boolean |
isModified() |
getProperty, loadConfig, loadConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadSourcepublic void close()
throws Exception
ReadableDataSourceException - IO or other error occursprotected boolean isModified()
Copyright © 2020 Alibaba Group. All rights reserved.