public static enum StreamSession.State extends java.lang.Enum<StreamSession.State>
+------------------+----------> FAILED <--------------------+ | | ^ | | | | initiator | INITIALIZED --> PREPARING --> STREAMING ------------> WAIT_COMPLETE ----> COMPLETED | | | ^ ^ | | | follower | | | | +-------------------------)-----------------+ | | | | | | if preview | | | +----------------------------------------+ | | nothing to request or to transfer | +-----------------------------------------------------------------------------+ nothing to request or to transfer
Enum Constant and Description |
---|
COMPLETE |
FAILED |
INITIALIZED |
PREPARING |
STREAMING |
WAIT_COMPLETE |
Modifier and Type | Method and Description |
---|---|
boolean |
isFinalState() |
static StreamSession.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamSession.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamSession.State INITIALIZED
public static final StreamSession.State PREPARING
public static final StreamSession.State STREAMING
public static final StreamSession.State WAIT_COMPLETE
public static final StreamSession.State COMPLETE
public static final StreamSession.State FAILED
public static StreamSession.State[] values()
for (StreamSession.State c : StreamSession.State.values()) System.out.println(c);
public static StreamSession.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 nullpublic boolean isFinalState()
Copyright © 2009-2022 The Apache Software Foundation