| Package | Description |
|---|---|
| com.mulesoft.anypoint.backoff.state |
| Modifier and Type | Class and Description |
|---|---|
class |
BackingOff
|
class |
BackingOn
|
class |
Error
Error state, children of this could be delaying or not running. |
class |
Stable
Stable state, no child of this should be delaying. |
class |
Unstable
Unstable state, children of this could be delaying. |
| Modifier and Type | Method and Description |
|---|---|
abstract State |
State.go()
Executes the configured closure.
|
State |
Unstable.go() |
State |
Stable.go() |
State |
Error.go() |
State |
State.ifError(Runnable closure)
|
State |
State.ifUnstable(Runnable closure)
|
abstract State |
State.log()
Logs current state.
|
State |
Unstable.log() |
State |
Stable.log() |
State |
Error.log() |
State |
BackingOff.next(SessionMetadata sessionMetadata) |
abstract State |
State.next(SessionMetadata sessionMetadata)
Defines the next state given a
SessionMetadata. |
State |
BackingOn.next(SessionMetadata sessionMetadata) |
State |
Stable.next(SessionMetadata sessionMetadata) |
State |
Error.next(SessionMetadata sessionMetadata) |
State |
State.otherwise(Runnable closure)
|
protected State |
State.resetClosures() |
Copyright © 2014–2021 MuleSoft, Inc.. All rights reserved.