org.jclouds.compute.predicates
Class TrueIfNullOrTerminatedRefreshAndDoubleCheckOnFalse
java.lang.Object
org.jclouds.compute.predicates.TrueIfNullOrTerminatedRefreshAndDoubleCheckOnFalse
- All Implemented Interfaces:
- com.google.common.base.Predicate<AtomicReference<NodeMetadata>>
public class TrueIfNullOrTerminatedRefreshAndDoubleCheckOnFalse
- extends Object
- implements com.google.common.base.Predicate<AtomicReference<NodeMetadata>>
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
equals |
logger
protected Logger logger
TrueIfNullOrTerminatedRefreshAndDoubleCheckOnFalse
@Inject
public TrueIfNullOrTerminatedRefreshAndDoubleCheckOnFalse(GetNodeMetadataStrategy client)
apply
public boolean apply(AtomicReference<NodeMetadata> atomicNode)
- Specified by:
apply
in interface com.google.common.base.Predicate<AtomicReference<NodeMetadata>>
checkState
public boolean checkState(NodeMetadata node)
Copyright © 2009-2012 jclouds. All Rights Reserved.