RetryablePredicate in 1.6

34 views
Skip to first unread message

Jai

unread,
Apr 15, 2013, 1:06:05 PM4/15/13
to 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

unread,
Apr 15, 2013, 1:09:53 PM4/15/13
to jcl...@googlegroups.com
Jai, please use Predicates2.retry instead.  I will update jclouds-examples.

Jai

unread,
Apr 15, 2013, 3:46:07 PM4/15/13
to jcl...@googlegroups.com
Thanks Andrew. That works.
Reply all
Reply to author
Forward
0 new messages