org.jclouds.slicehost.compute.strategy
Class SlicehostListNodesStrategy

java.lang.Object
  extended by org.jclouds.slicehost.compute.strategy.SlicehostListNodesStrategy
All Implemented Interfaces:
ListNodesStrategy

@Singleton
public class SlicehostListNodesStrategy
extends Object
implements ListNodesStrategy

Author:
Adrian Cole

Constructor Summary
protected SlicehostListNodesStrategy(SlicehostClient client, com.google.common.base.Function<Slice,NodeMetadata> sliceToNodeMetadata)
           
 
Method Summary
 Iterable<? extends NodeMetadata> listDetailsOnNodesMatching(com.google.common.base.Predicate<ComputeMetadata> filter)
           
 Iterable<? extends ComputeMetadata> listNodes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlicehostListNodesStrategy

@Inject
protected SlicehostListNodesStrategy(SlicehostClient client,
                                            com.google.common.base.Function<Slice,NodeMetadata> sliceToNodeMetadata)
Method Detail

listNodes

public Iterable<? extends ComputeMetadata> listNodes()
Specified by:
listNodes in interface ListNodesStrategy

listDetailsOnNodesMatching

public Iterable<? extends NodeMetadata> listDetailsOnNodesMatching(com.google.common.base.Predicate<ComputeMetadata> filter)
Specified by:
listDetailsOnNodesMatching in interface ListNodesStrategy


Copyright © 2009-2011 jclouds. All Rights Reserved.