org.jclouds.compute.predicates
Class NodePresentAndInIntendedState

java.lang.Object
  extended by org.jclouds.compute.predicates.NodePresentAndInIntendedState
All Implemented Interfaces:
com.google.common.base.Predicate<NodeMetadata>
Direct Known Subclasses:
NodeRunning, NodeSuspended

Deprecated.

@Deprecated
@Singleton
public class NodePresentAndInIntendedState
extends Object
implements com.google.common.base.Predicate<NodeMetadata>

Tests to see if a node is active.

Author:
Adrian Cole
See Also:
RefreshAndDoubleCheckOnFailUnlessStateInvalid

Field Summary
protected  Logger logger
          Deprecated.  
 
Constructor Summary
NodePresentAndInIntendedState(NodeState intended, GetNodeMetadataStrategy client)
          Deprecated.  
NodePresentAndInIntendedState(NodeState intended, Set<NodeState> invalids, GetNodeMetadataStrategy client)
          Deprecated.  
 
Method Summary
 boolean apply(NodeMetadata node)
          Deprecated.  
 
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
 

Field Detail

logger

protected Logger logger
Deprecated. 
Constructor Detail

NodePresentAndInIntendedState

@Inject
public NodePresentAndInIntendedState(NodeState intended,
                                            GetNodeMetadataStrategy client)
Deprecated. 

NodePresentAndInIntendedState

public NodePresentAndInIntendedState(NodeState intended,
                                     Set<NodeState> invalids,
                                     GetNodeMetadataStrategy client)
Deprecated. 
Method Detail

apply

public boolean apply(NodeMetadata node)
Deprecated. 
Specified by:
apply in interface com.google.common.base.Predicate<NodeMetadata>


Copyright © 2009-2012 jclouds. All Rights Reserved.