> + public static Predicate<String> awaitActive(ServerApi serverApi) {
> + return awaitStatus(serverApi, ACTIVE, TEN_MINUTES, FIVE_SECONDS);
> + }
> +
> + /**
> + * Waits until a Server is SHUTOFF.
> + *
> + * @param serverApi The ServerApi in the zone where your Server resides.
> + * @return Predicate That will check the status every 5 seconds for a
> maximum of 10 minutes.
> + */
> + public static Predicate<String> awaitShutoff(ServerApi serverApi) {
> + return awaitStatus(serverApi, SHUTOFF, TEN_MINUTES, FIVE_SECONDS);
> + }
> +
> + /**
> + * Wait until a Server reaches Status.
Fixed.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/355/files#r12113494