@API(value=UNSTABLE) public static class OnlineIndexer.Config extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OnlineIndexer.Config.Builder
A builder for
OnlineIndexer.Config . |
Modifier and Type | Method and Description |
---|---|
int |
getIncreaseLimitAfter()
Get the number of successful range builds before re-increasing the number of records to process in a single
transaction.
|
int |
getMaxLimit()
Get the maximum number of records to process in one transaction.
|
int |
getMaxRetries()
Get the maximum number of times to retry a single range rebuild.
|
long |
getProgressLogIntervalMillis()
Get the minimum time between successful progress logs when building across transactions.
|
int |
getRecordsPerSecond()
Get the maximum number of records to process in a single second.
|
static OnlineIndexer.Config.Builder |
newBuilder() |
OnlineIndexer.Config.Builder |
toBuilder()
To create a builder for the given config.
|
public int getMaxLimit()
public int getMaxRetries()
public int getRecordsPerSecond()
public long getProgressLogIntervalMillis()
public int getIncreaseLimitAfter()
OnlineIndexer.DO_NOT_RE_INCREASE_LIMIT
, which means it will not re-increase after successes.@Nonnull public static OnlineIndexer.Config.Builder newBuilder()
@Nonnull public OnlineIndexer.Config.Builder toBuilder()
OnlineIndexer.Config.Builder