类 FileInJarReadableDataSource<T>

java.lang.Object
com.alibaba.csp.sentinel.datasource.AbstractDataSource<String,T>
com.alibaba.csp.sentinel.datasource.FileInJarReadableDataSource<T>
所有已实现的接口:
ReadableDataSource<String,T>

public class FileInJarReadableDataSource<T> extends AbstractDataSource<String,T>

A ReadableDataSource based on jar file. This class can only read file initially when it loads file.

Limitations: Default read buffer size is 1 MB, while max allowed buffer size is 4MB. File size should not exceed the buffer size, or exception will be thrown. Default charset is UTF-8.

从以下版本开始:
1.6.0
作者:
dingq, Eric Zhao