public interface UrlSelector
| Modifier and Type | Method and Description |
|---|---|
void |
init(java.util.Map<java.lang.String,java.lang.Object> conf) |
java.lang.String |
select()
Returns the current url chosen among the given cluster urls.
|
void |
urlWithError(java.lang.String url,
java.lang.Exception ex)
Sets the given
url is failed with the given Exception ex. |
void init(java.util.Map<java.lang.String,java.lang.Object> conf)
java.lang.String select()
void urlWithError(java.lang.String url,
java.lang.Exception ex)
url is failed with the given Exception ex.url - failed urlex - exception encountered