@Singleton public class RefreshImageAndDoubleCheckOnFailUnlessStatusInvalid extends RefreshAndDoubleCheckOnFailUnlessStatusInvalid<Image.Status,Image>
ComputeService#getImage
call after the
predicate passes.logger
Constructor and Description |
---|
RefreshImageAndDoubleCheckOnFailUnlessStatusInvalid(Image.Status intended,
GetImageStrategy client) |
RefreshImageAndDoubleCheckOnFailUnlessStatusInvalid(Image.Status intended,
Set<Image.Status> invalids,
GetImageStrategy client) |
Modifier and Type | Method and Description |
---|---|
protected Image |
refreshOrNull(Image resource) |
apply, checkStatus
@Inject public RefreshImageAndDoubleCheckOnFailUnlessStatusInvalid(Image.Status intended, GetImageStrategy client)
public RefreshImageAndDoubleCheckOnFailUnlessStatusInvalid(Image.Status intended, Set<Image.Status> invalids, GetImageStrategy client)
protected Image refreshOrNull(Image resource)
refreshOrNull
in class RefreshAndDoubleCheckOnFailUnlessStatusInvalid<Image.Status,Image>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.