com.datastax.stargate.sdk.loadbalancer.UnavailableResourceException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stargate-sdk Show documentation
Show all versions of stargate-sdk Show documentation
Connect to Stargate Data Gateway
package com.datastax.stargate.sdk.loadbalancer;
/**
* To disable a resources from the load balancer you will get 2 scenarios:
* - The heartbit detect the failure and disable the resource
* - The usage of the resource generates an exception that can be interpretad as resource not available
*
* @author Cedrick LUNVEN (@clunven)
*/
public class UnavailableResourceException extends RuntimeException {
/** Serial. */
private static final long serialVersionUID = 1L;
/**
* Error with message
*
* @param msg
* current message
*/
public UnavailableResourceException(String msg) {
super(msg);
}
/**
* Error with message and error.
*
* @param msg
* current message
* @param parent
* error
*/
public UnavailableResourceException(String msg, Throwable parent) {
super(msg, parent);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy