public static class JDBCLookupOptions.Builder extends Object
JDBCLookupOptions.| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
JDBCLookupOptions |
build() |
JDBCLookupOptions.Builder |
setCacheExpireMs(long cacheExpireMs)
optional, lookup cache expire mills, over this time, the old data will expire.
|
JDBCLookupOptions.Builder |
setCacheMaxSize(long cacheMaxSize)
optional, lookup cache max size, over this value, the old data will be eliminated.
|
JDBCLookupOptions.Builder |
setMaxRetryTimes(int maxRetryTimes)
optional, max retry times for jdbc connector.
|
public JDBCLookupOptions.Builder setCacheMaxSize(long cacheMaxSize)
public JDBCLookupOptions.Builder setCacheExpireMs(long cacheExpireMs)
public JDBCLookupOptions.Builder setMaxRetryTimes(int maxRetryTimes)
public JDBCLookupOptions build()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.