public static class QueueEventBuffer.Builder
extends java.lang.Object
QueueEventBuffer
Modifier and Type | Method | Description |
---|---|---|
QueueEventBuffer.Builder |
allGroupsQueue(int capacity) |
Configures a single queue for all static groups that can generate events.
|
QueueEventBuffer |
build() |
|
QueueEventBuffer.Builder |
dataPointQueues(int capacity,
StaticGroup group) |
Configures event queues per data point for the given static group.
|
QueueEventBuffer.Builder |
groupsQueue(int capacity,
StaticGroup aGroup,
StaticGroup... moreGroups) |
Configures a single queue for the given static groups.
|
QueueEventBuffer.Builder |
groupsQueue(int capacity,
java.lang.Iterable<StaticGroup> groups) |
Configures a single queue for the given static groups.
|
public QueueEventBuffer.Builder dataPointQueues(int capacity, StaticGroup group)
capacity
- the capacity of each event queuegroup
- the static grouppublic QueueEventBuffer.Builder groupsQueue(int capacity, java.lang.Iterable<StaticGroup> groups)
capacity
- the capacity of the queuegroups
- the static groupspublic QueueEventBuffer.Builder groupsQueue(int capacity, StaticGroup aGroup, StaticGroup... moreGroups)
capacity
- the capacity of the queueaGroup
- the first groupmoreGroups
- more groupspublic QueueEventBuffer.Builder allGroupsQueue(int capacity)
capacity
- the capacity of the queuepublic QueueEventBuffer build()