org.jclouds.gogrid.compute.strategy
Class GoGridListNodesStrategy

java.lang.Object
  extended by org.jclouds.gogrid.compute.strategy.GoGridListNodesStrategy
All Implemented Interfaces:
ListNodesStrategy

@Singleton
public class GoGridListNodesStrategy
extends Object
implements ListNodesStrategy

Author:
Adrian Cole

Constructor Summary
protected GoGridListNodesStrategy(GoGridClient client, com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata)
           
 
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

GoGridListNodesStrategy

@Inject
protected GoGridListNodesStrategy(GoGridClient client,
                                         com.google.common.base.Function<Server,NodeMetadata> serverToNodeMetadata)
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.