RetryablePredicate in 1.6

34 visualizações
Pular para a primeira mensagem não lida

Jai

não lida,
15 de abr. de 2013, 13:06:0515/04/2013
para jcl...@googlegroups.com
I have been using RetryablePredicate directly in my code using 1.5.2 version.
I am trying to upgrade to 1.6.0 and I see compilation errors, since that is not public anymore.

I have been using snippet as available in the below sample program


Is there any pointers on how to alternately use the RetryablePredicates (for testing ssh port availability, Checking volume attachment state) e.t.c ? 

Thanks
Jai

Andrew Gaul

não lida,
15 de abr. de 2013, 13:09:5315/04/2013
para jcl...@googlegroups.com
Jai, please use Predicates2.retry instead.  I will update jclouds-examples.

Jai

não lida,
15 de abr. de 2013, 15:46:0715/04/2013
para jcl...@googlegroups.com
Thanks Andrew. That works.
Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem