public static enum EventBus.PublishResult extends Enum<EventBus.PublishResult>
| Enum Constant and Description |
|---|
OVERLOADED
Could not publish because the event bus is overloaded temporarily.
|
SHUTDOWN
If the event bus is already shut down, the msg won't be published.
|
SUCCESS
Publishing was successful.
|
| Modifier and Type | Method and Description |
|---|---|
static EventBus.PublishResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventBus.PublishResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventBus.PublishResult SUCCESS
public static final EventBus.PublishResult OVERLOADED
public static final EventBus.PublishResult SHUTDOWN
public static EventBus.PublishResult[] values()
for (EventBus.PublishResult c : EventBus.PublishResult.values()) System.out.println(c);
public static EventBus.PublishResult 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 © 2021 Couchbase, Inc.. All rights reserved.