public static class JdbcLookupOptions.Builder extends Object
JdbcLookupOptions
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
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–2022 The Apache Software Foundation. All rights reserved.