protected static enum SingleThreadedBufferingSubscriber.BackPressureState extends Enum<SingleThreadedBufferingSubscriber.BackPressureState>
Enum Constant and Description |
---|
BUFFERING
Buffering has stared, but not demand present.
|
DEMANDING
The buffer is empty but there demand.
|
DONE
Finished.
|
FLOWING
The data has been read, however the buffer is not empty.
|
IDLE
There is no demand yet and no buffering has taken place.
|
NO_SUBSCRIBER
There is no subscriber.
|
Modifier and Type | Method and Description |
---|---|
static SingleThreadedBufferingSubscriber.BackPressureState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SingleThreadedBufferingSubscriber.BackPressureState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SingleThreadedBufferingSubscriber.BackPressureState NO_SUBSCRIBER
public static final SingleThreadedBufferingSubscriber.BackPressureState IDLE
public static final SingleThreadedBufferingSubscriber.BackPressureState BUFFERING
public static final SingleThreadedBufferingSubscriber.BackPressureState DEMANDING
public static final SingleThreadedBufferingSubscriber.BackPressureState FLOWING
public static final SingleThreadedBufferingSubscriber.BackPressureState DONE
public static SingleThreadedBufferingSubscriber.BackPressureState[] values()
for (SingleThreadedBufferingSubscriber.BackPressureState c : SingleThreadedBufferingSubscriber.BackPressureState.values()) System.out.println(c);
public static SingleThreadedBufferingSubscriber.BackPressureState 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 null