R - result typepublic abstract class PolicyConfig<R> extends Object
Policy.| Modifier | Constructor and Description |
|---|---|
protected |
PolicyConfig() |
protected |
PolicyConfig(PolicyConfig<R> config) |
| Modifier and Type | Method and Description |
|---|---|
EventListener<ExecutionCompletedEvent<R>> |
getFailureListener()
Returns the failure listener.
|
EventListener<ExecutionCompletedEvent<R>> |
getSuccessListener()
Returns the success listener.
|
protected PolicyConfig()
protected PolicyConfig(PolicyConfig<R> config)
public EventListener<ExecutionCompletedEvent<R>> getSuccessListener()
PolicyListeners.onSuccess(EventListener)public EventListener<ExecutionCompletedEvent<R>> getFailureListener()
PolicyListeners.onFailure(EventListener)Copyright © 2022. All rights reserved.