All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netflix.astyanax.ExceptionCallback Maven / Gradle / Ivy

There is a newer version: 3.10.2
Show newest version
package com.netflix.astyanax;

import com.netflix.astyanax.connectionpool.exceptions.ConnectionException;

/**
 * ExceptionCallback is used in situation where it is not possible to return a
 * checked exception, such as when implementing a custom iterator. The callback
 * implementation
 * 
 * @author elandau
 * 
 */
public interface ExceptionCallback {
    /**
     * 
     * @param e
     * @return true to retry or false to end the iteration
     */
    boolean onException(ConnectionException e);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy