public interface LifecycleState
Nov 13, 2020
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
LifecycleState.LifecyclePhase |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canDispose() |
boolean |
canInitialize() |
boolean |
canStart() |
boolean |
canStop() |
LifecycleState.LifecyclePhase |
getPhase() |
boolean |
isDisposed() |
boolean |
isDisposing() |
boolean |
isEmpty() |
boolean |
isInitialized() |
boolean |
isInitializing() |
boolean |
isPositivelyDisposed() |
boolean |
isPositivelyStopped() |
boolean |
isStarted() |
boolean |
isStarting() |
boolean |
isStopped() |
boolean |
isStopping() |
void |
rollback(Exception e)
rollback to previous state
|
void |
setPhase(LifecycleState.LifecyclePhase phase) |
boolean isEmpty()
boolean isInitializing()
boolean isInitialized()
boolean isStarting()
boolean isStarted()
boolean isStopping()
boolean isStopped()
boolean isPositivelyStopped()
boolean isDisposing()
boolean isDisposed()
boolean isPositivelyDisposed()
LifecycleState.LifecyclePhase getPhase()
void setPhase(LifecycleState.LifecyclePhase phase)
void rollback(Exception e)
e - Exceptionboolean canInitialize()
boolean canStart()
boolean canStop()
boolean canDispose()
Copyright © 2023 The Ant Financial. All rights reserved.