List<String> blacklistedIPs = new ArrayList<String>();
if (!isIpAvailable(myIP)) {
if () {
}
}
On Sat, May 28, 2011 at 12:51 PM, Dan Checkoway <[email protected]>wrote:
> Ok, thanks. So it does sound like I'm going to need to roll my own.
> No existing examples of this out there already? i.e. something that
> maintains pools of HttpClient objects or whatever, and does retry
> periodically after failover, using expoential backoff, or what not.
>
> No problem rolling my own, but I'd love to reuse somebody else's hard
> work if possible. :-)
>
> Dan
>
> On Sat, May 28, 2011 at 12:44 PM, Oleg Kalnichevski <[email protected]>
> wrote:
> > On Sat, 2011-05-28 at 12:37 -0400, Dan Checkoway wrote:
> >> Oleg,
> >>
> >> Thanks for the reply. Ideally the "spray" approach is what I'm looking
> for.
> >>
> >> Dan
> >
> > Dan,
> >
> > This is not supported out of the box but should not be that difficult to
> > implement. You just need to maintain a list of IP addresses or hostnames
> > and be able to temporarily 'blacklist' those that do not respond.
> >
> > Oleg
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>