类 RedisLookupOptions.Builder
- java.lang.Object
-
- net.wicp.tams.common.flink.connector.redis.options.RedisLookupOptions.Builder
-
- 封闭类:
- RedisLookupOptions
public static class RedisLookupOptions.Builder extends Object
Builder ofRedisLookupOptions.
-
-
构造器概要
构造器 构造器 说明 Builder()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 RedisLookupOptionsbuild()RedisLookupOptions.BuildersetBatchMinTriggerDelayMs(int batchMinTriggerDelayMs)RedisLookupOptions.BuildersetBatchSize(int batchSize)RedisLookupOptions.BuildersetCacheExpireMs(long cacheExpireMs)optional, lookup cache expire mills, over this time, the old data will expire.RedisLookupOptions.BuildersetCacheMaxSize(long cacheMaxSize)optional, lookup cache max size, over this value, the old data will be eliminated.RedisLookupOptions.BuildersetGroupid(String groupid)RedisLookupOptions.BuildersetHostname(String hostname)optional, lookup cache max size, over this value, the old data will be eliminated.RedisLookupOptions.BuildersetIsBatchMode(boolean isBatchMode)RedisLookupOptions.BuildersetLookupAsync(boolean lookupAsync)optional, whether to set async lookup.RedisLookupOptions.BuildersetMaxRetryTimes(int maxRetryTimes)optional, max retry times for Hbase connector.RedisLookupOptions.BuildersetPort(int port)optional, lookup cache expire mills, over this time, the old data will expire.RedisLookupOptions.BuildersetSearchkeyprefix(String searchkeyprefix)
-
-
-
字段详细资料
-
hostname
protected String hostname
-
port
protected int port
-
-
方法详细资料
-
setSearchkeyprefix
public RedisLookupOptions.Builder setSearchkeyprefix(String searchkeyprefix)
-
setGroupid
public RedisLookupOptions.Builder setGroupid(String groupid)
-
setIsBatchMode
public RedisLookupOptions.Builder setIsBatchMode(boolean isBatchMode)
-
setBatchSize
public RedisLookupOptions.Builder setBatchSize(int batchSize)
-
setBatchMinTriggerDelayMs
public RedisLookupOptions.Builder setBatchMinTriggerDelayMs(int batchMinTriggerDelayMs)
-
setCacheMaxSize
public RedisLookupOptions.Builder setCacheMaxSize(long cacheMaxSize)
optional, lookup cache max size, over this value, the old data will be eliminated.
-
setCacheExpireMs
public RedisLookupOptions.Builder setCacheExpireMs(long cacheExpireMs)
optional, lookup cache expire mills, over this time, the old data will expire.
-
setMaxRetryTimes
public RedisLookupOptions.Builder setMaxRetryTimes(int maxRetryTimes)
optional, max retry times for Hbase connector.
-
setLookupAsync
public RedisLookupOptions.Builder setLookupAsync(boolean lookupAsync)
optional, whether to set async lookup.
-
setHostname
public RedisLookupOptions.Builder setHostname(String hostname)
optional, lookup cache max size, over this value, the old data will be eliminated.
-
setPort
public RedisLookupOptions.Builder setPort(int port)
optional, lookup cache expire mills, over this time, the old data will expire.
-
build
public RedisLookupOptions build()
-
-