private static enum WriteResultPublisher.State extends java.lang.Enum<WriteResultPublisher.State>
Enum Constant and Description |
---|
COMPLETED |
SUBSCRIBED |
UNSUBSCRIBED |
Modifier and Type | Method and Description |
---|---|
(package private) void |
cancel(WriteResultPublisher publisher) |
(package private) void |
publishComplete(WriteResultPublisher publisher) |
(package private) void |
publishError(WriteResultPublisher publisher,
java.lang.Throwable t) |
(package private) void |
request(WriteResultPublisher publisher,
long n) |
(package private) void |
subscribe(WriteResultPublisher publisher,
<any> subscriber) |
static WriteResultPublisher.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteResultPublisher.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteResultPublisher.State UNSUBSCRIBED
public static final WriteResultPublisher.State SUBSCRIBED
public static final WriteResultPublisher.State COMPLETED
public static WriteResultPublisher.State[] values()
for (WriteResultPublisher.State c : WriteResultPublisher.State.values()) System.out.println(c);
public static WriteResultPublisher.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullvoid subscribe(WriteResultPublisher publisher, <any> subscriber)
void request(WriteResultPublisher publisher, long n)
void cancel(WriteResultPublisher publisher)
void publishComplete(WriteResultPublisher publisher)
void publishError(WriteResultPublisher publisher, java.lang.Throwable t)