public static enum RecordPublisher.RecordPublisherRunResult extends Enum<RecordPublisher.RecordPublisherRunResult>
Enum Constant and Description |
---|
CANCELLED
The record publisher has been cancelled.
|
COMPLETE
There are no more records to consume from this shard.
|
INCOMPLETE
There are more records to consume from this shard.
|
Modifier and Type | Method and Description |
---|---|
static RecordPublisher.RecordPublisherRunResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordPublisher.RecordPublisherRunResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordPublisher.RecordPublisherRunResult COMPLETE
public static final RecordPublisher.RecordPublisherRunResult INCOMPLETE
public static final RecordPublisher.RecordPublisherRunResult CANCELLED
public static RecordPublisher.RecordPublisherRunResult[] values()
for (RecordPublisher.RecordPublisherRunResult c : RecordPublisher.RecordPublisherRunResult.values()) System.out.println(c);
public static RecordPublisher.RecordPublisherRunResult 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 © 2014–2023 The Apache Software Foundation. All rights reserved.