Phase
No overview available.
Methods
IsTerminal()
@classmethod
def IsTerminal() - > bool
Checks if the current phase is a terminal phase. Callers use this to determine if a process or operation has reached a final state.
Returns
| Type | Description |
|---|---|
bool | True if the phase is terminal, False otherwise. |
IsFailure()
@classmethod
def IsFailure() - > bool
Checks if the current phase indicates a failure state. Callers use this to identify if an operation has completed unsuccessfully.
Returns
| Type | Description |
|---|---|
bool | True if the phase represents a failure, False otherwise. |
IsSuccess()
@classmethod
def IsSuccess() - > bool
Checks if the current phase indicates a successful completion state. Callers use this to verify if an operation has completed successfully.
Returns
| Type | Description |
|---|---|
bool | True if the phase represents success, False otherwise. |
IsAborted()
@classmethod
def IsAborted() - > bool
Checks if the current phase indicates an aborted state. Callers use this to determine if an operation was prematurely terminated.
Returns
| Type | Description |
|---|---|
bool | True if the phase represents an aborted state, False otherwise. |
IsWaitingForResources()
@classmethod
def IsWaitingForResources() - > bool
Checks if the current phase indicates that the operation is waiting for resources. Callers use this to understand if an operation is stalled due to resource availability.
Returns
| Type | Description |
|---|---|
bool | True if the phase indicates waiting for resources, False otherwise. |