public interface FailoverProtectedOperation<T,E extends Exception>
FailoverException because
it has been interrupted by the fail-over process. The FailoverRetrySupport class defines support wrappers
for failover protected operations, in order to provide different handling schemes when failovers occurr.
The type of checked exception that the operation may perform has been generified, in order that fail over
protected operations can be defined that raise arbitrary exceptions. The actuall exception types used should not
be sub-classes of FailoverException, or else catching FailoverException in the FailoverRetrySupport classes
will mask the exception.
T execute() throws E extends Exception, FailoverException
FailoverException - If the operation is interrupted by a fail-over notification.E extends ExceptionCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.