public static class ChangeEventQueue.Builder<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
private Supplier<LoggingContext.PreviousContext> |
loggingContextSupplier |
private int |
maxBatchSize |
private int |
maxQueueSize |
private Duration |
pollInterval |
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ChangeEventQueue<T> |
build() |
ChangeEventQueue.Builder<T> |
loggingContextSupplier(Supplier<LoggingContext.PreviousContext> loggingContextSupplier) |
ChangeEventQueue.Builder<T> |
maxBatchSize(int maxBatchSize) |
ChangeEventQueue.Builder<T> |
maxQueueSize(int maxQueueSize) |
ChangeEventQueue.Builder<T> |
pollInterval(Duration pollInterval) |
private Duration pollInterval
private int maxQueueSize
private int maxBatchSize
private Supplier<LoggingContext.PreviousContext> loggingContextSupplier
public ChangeEventQueue.Builder<T> pollInterval(Duration pollInterval)
public ChangeEventQueue.Builder<T> maxQueueSize(int maxQueueSize)
public ChangeEventQueue.Builder<T> maxBatchSize(int maxBatchSize)
public ChangeEventQueue.Builder<T> loggingContextSupplier(Supplier<LoggingContext.PreviousContext> loggingContextSupplier)
public ChangeEventQueue<T> build()
Copyright © 2019 JBoss by Red Hat. All rights reserved.