public static class NoSQLPublisherConfig.Builder extends Object
| Constructor and Description |
|---|
Builder(KVStoreConfig kvStoreConfig,
String rootPath)
|
| Modifier and Type | Method and Description |
|---|---|
NoSQLPublisherConfig |
build()
Builds a NoSQLSubscriptionConfig instance from builder
|
NoSQLPublisherConfig.Builder |
setMaxConcurrentSubs(int maxConcurrentSubs)
Sets maximum concurrently running subscriptions in publisher
|
NoSQLPublisherConfig.Builder |
setReauthHandler(ReauthenticateHandler reauthHandler)
Sets reauthentication handler.
|
NoSQLPublisherConfig.Builder |
setShardTimeoutMs(long shardTimeoutMs)
Sets shard timeout in milliseconds.
|
public Builder(KVStoreConfig kvStoreConfig, String rootPath) throws IllegalArgumentException
kvStoreConfig - kvstore configurationrootPath - path to the publisher root directoryIllegalArgumentException - if missing or invalid parameterspublic NoSQLPublisherConfig build()
public NoSQLPublisherConfig.Builder setReauthHandler(ReauthenticateHandler reauthHandler)
reauthHandler - reauthentication handlerpublic NoSQLPublisherConfig.Builder setMaxConcurrentSubs(int maxConcurrentSubs) throws IllegalArgumentException
maxConcurrentSubs - maximum concurrently running subscriptionsIllegalArgumentException - if maximum concurrently running
subscriptions is smaller than 1.public NoSQLPublisherConfig.Builder setShardTimeoutMs(long shardTimeoutMs) throws IllegalArgumentException
shardTimeoutMs - shard timeout in millisecondsIllegalArgumentException - if shard timeout is smaller than 0.Copyright (c) 2011, 2017 Oracle and/or its affiliates. All rights reserved.