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