public class EmptyHealthMonitorsFallback extends Object implements Fallback<HealthMonitors>
Constructor and Description |
---|
EmptyHealthMonitorsFallback() |
Modifier and Type | Method and Description |
---|---|
HealthMonitors |
createOrPropagate(Throwable t)
The exception is provided so that the
Fallback implementation can
conditionally determine whether to propagate the exception or to attempt
to recover. |
public HealthMonitors createOrPropagate(Throwable t) throws Exception
Fallback
Fallback
implementation can
conditionally determine whether to propagate the exception or to attempt
to recover.createOrPropagate
in interface Fallback<HealthMonitors>
t
- the exception that made the call fail.Exception
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.