public abstract static class FailureTestingListener.FailureTrigger extends Object implements Serializable
| Constructor and Description |
|---|
FailureTrigger() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize() |
boolean |
initialized() |
abstract boolean |
triggerFailure(FailureTestingListener.CallType callType,
int iteration,
int epoch,
Model model)
If true: trigger the failure.
|
public abstract boolean triggerFailure(FailureTestingListener.CallType callType, int iteration, int epoch, Model model)
callType - Type of calliteration - Iteration numberepoch - Epoch numbermodel - Modelpublic boolean initialized()
public void initialize()
Copyright © 2021. All rights reserved.