> +import com.google.common.base.Predicate;
> +import org.jclouds.openstack.nova.v2_0.domain.Server;
> +import org.jclouds.openstack.nova.v2_0.domain.ServerCreated;
> +import org.jclouds.openstack.nova.v2_0.features.ServerApi;
> +
> +import static com.google.common.base.Preconditions.checkNotNull;
> +import static java.util.concurrent.TimeUnit.SECONDS;
> +import static org.jclouds.openstack.nova.v2_0.domain.Server.Status;
> +import static org.jclouds.openstack.nova.v2_0.domain.Server.Status.ACTIVE;
> +import static org.jclouds.openstack.nova.v2_0.domain.Server.Status.SHUTOFF;
> +import static org.jclouds.util.Predicates2.retry;
> +
> +/**
> + * Tests to see if server has reached status. This class is most useful when 
> paired with a RetryablePredicate as
> + * in the code below. This class can be used to block execution until the 
> Server status has reached a desired status.
> + * This is useful when your Server needs to be 100% ready before you can 
> continue with execution.

Fixed.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/355/files#r12064110

Reply via email to