public static enum QDAgent.BufferOverflowStrategy extends Enum<QDAgent.BufferOverflowStrategy>
| Enum Constant and Description |
|---|
BLOCK
Block data processing when buffer overflows until buffer space is available.
|
DROP_NEWEST
Drop newest records when buffer overflows.
|
DROP_OLDEST
Drop oldest records when buffer overflows.
|
| Modifier and Type | Method and Description |
|---|---|
static QDAgent.BufferOverflowStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QDAgent.BufferOverflowStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QDAgent.BufferOverflowStrategy DROP_OLDEST
public static final QDAgent.BufferOverflowStrategy DROP_NEWEST
public static final QDAgent.BufferOverflowStrategy BLOCK
QDDistributor.processData(DataIterator) method will block until buffer
space in this agent becomes available. This block can be
interrupted, in which case data processing aborts leaving
the interrupt flag set.public static QDAgent.BufferOverflowStrategy[] values()
for (QDAgent.BufferOverflowStrategy c : QDAgent.BufferOverflowStrategy.values()) System.out.println(c);
public static QDAgent.BufferOverflowStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2002–2025 Devexperts LLC. All rights reserved.